[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