public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API
@ 2012-12-02  1:20 Matthias Klose
  0 siblings, 0 replies; only message in thread
From: Matthias Klose @ 2012-12-02  1:20 UTC (permalink / raw)
  To: GCJ-patches

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

Update to the new GC_[gs]et_free_space_divisor API

Committed to the boehm-gc merge branch,

  Matthias

[-- Attachment #2: boehm.cc.diff --]
[-- Type: text/x-diff, Size: 508 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-02  1:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-02  1:20 [patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API Matthias Klose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).