This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]