[patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API

Matthias Klose <[email protected]>
Newsgroups gmane.comp.gcc.java.patches
Message-ID <[email protected]>
Update to the new GC_[gs]et_free_space_divisor API

Committed to the boehm-gc merge branch,

  Matthias
boehm.cc.diff (text/x-diff, 508 B)
libjava/ChangeLog.merge

2012-12-01  Matthias Klose  <[email protected]>

	* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.