public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Matthias Klose <doko@ubuntu.com>
To: GCJ-patches <java-patches@gcc.gnu.org>
Subject: [patch][boehm-gc update] update to new GC_[gs]et_free_space_divisor API
Date: Sun, 02 Dec 2012 01:20:00 -0000	[thread overview]
Message-ID: <50BAACE7.8060705@ubuntu.com> (raw)

[-- 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

                 reply	other threads:[~2012-12-02  1:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50BAACE7.8060705@ubuntu.com \
    --to=doko@ubuntu.com \
    --cc=java-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).