This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API
- From: Matthias Klose <doko at ubuntu dot com>
- To: GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: Sun, 02 Dec 2012 02:20:39 +0100
- Subject: [patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API
Update to the new GC_[gs]et_free_space_divisor API
Committed to the boehm-gc merge branch,
Matthias
libjava/ChangeLog.merge
2012-12-01 Matthias Klose <doko@ubuntu.com>
* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Update to new boehm-gc API.
Index: boehm.cc
===================================================================
--- boehm.cc (Revision 194043)
+++ boehm.cc (Arbeitskopie)
@@ -468,7 +468,8 @@
int
_Jv_SetGCFreeSpaceDivisor (int div)
{
- return (int)GC_set_free_space_divisor ((GC_word)div);
+ GC_set_free_space_divisor ((GC_word)div);
+ return (int)GC_get_free_space_divisor ();
}
void