public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Matthias Klose <doko@ubuntu.com>
To: NightStrike <nightstrike@gmail.com>
Cc: Ivan Maidanski <ivmai@mail.ru>, Boehm GC <gc@linux.hpl.hp.com>,
	 Kai Tietz <ktietz70@googlemail.com>,
	GCJ-patches <java-patches@gcc.gnu.org>,
	Andrew Haley <aph@redhat.com>
Subject: Re: [Gc] Re: boehm-gc merge for GCC
Date: Sat, 17 Nov 2012 01:54:00 -0000	[thread overview]
Message-ID: <50A6EE27.4000605@ubuntu.com> (raw)
In-Reply-To: <CAF1jjLsA1nzLaJejMiAfzqZZ8btw37n0B3H7_qz-UrLvNQGqzA@mail.gmail.com>

[CCing java-patches and Andrew too]

I'm currently striving for something for the 4.8 release. Not sure if relying on
an external library is the right thing to do for the 4.8 release.

Currently boehm-gc is linked to libgcj as a convenience library. I remember that
trying to link boehm-gc as a shared library did cause some performance
regressions (although I think I did only check this in the early 4.x times).

Please could you elaborate on the API changes in gcj?

There is also a second user of boehm-gc in GCC, when you configure with
--enable-objc-gc. I didn't check yet which changes are needed for that.

Would it be possible to create a branch in the GCC svn, and then prepare the
merge, and libjava and libobjc changes there?

  Matthias

Am 16.11.2012 22:14, schrieb NightStrike:
> I think changing the gc to be like gmp/mpfr/mpc requires buy-in from
> Andrew Haley, if I'm not mistaken.
> 
> Kai, is my statement correct?
> 
> On Fri, Nov 16, 2012 at 3:54 PM, Ivan Maidanski <ivmai@mail.ru> wrote:
>> Hi NightStrike,
>>
>> In my understanding, I've done bdwgc ready for gcj but some gcj files should
>> be changed to reflect the changes in bdwgc API (e.g., thread registration).
>> There is a problem is thread suspend/resume - bdwgc does not have such API
>> but OTOH suspend/resume is deprecated part of Java threads. Regarding
>> integration bdwgc into gcj, I think it's better to have bdwgc as a separate
>> module (similar to libmpfr).
>>
>> I have an intention to do the work but this requires significant efforts to
>> make it perfect,  so I gave up due to lack of time.
>>
>> Any volunteers?
>>
>> Regards,
>> Ivan
>>
>> 16 11 2012 15:28:34 from NightStrike <nightstrike@gmail.com>:
>>
>> Are there any plans to get current boehm-gc into gcc? Ivan, can you do this?
>>
>> On Fri, Nov 16, 2012 at 3:21 PM, Ivan Maidanski <ivmai@mail.ru> wrote:
>>> Hi Matthias,
>>>
>>> I think yes, all patches (may be with some modifications) from Kai are in
>>> master.
>>> I myself also reviewed difference between gcc/boehm-gc
>>> (https://github.com/ivmai/bdwgc/tree/gcc_boehmgc) and gc6.8.
>>>
>>> Regards,
>>> Ivan
>>>
>>> 16 11 2012 18:22:47 Matthias Klose <doko@ubuntu.com>:
>>>
>>> Hi Ivan,
>>>
>>> in
>>>
>>> http://old.nabble.com/RFC%3A-Updating-boehm-gc-to-verion-7.2-(alpha-5)-td31293737.html
>>>
>>> Kai said that he did some patches upstream / to you about changes
>>> collected
>>> in
>>> the GCC copy of boehm-gc. Are these integrated in your branch/trunk, or
>>> could
>>> you forward these to me? I didn't get any feedback from Kai this week,
>>> therefor
>>> asking you directly.
>>>
>>> Thanks, Matthias

       reply	other threads:[~2012-11-17  1:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1353097280.505328435@f161.mail.ru>
     [not found] ` <50A67667.7020600@ubuntu.com>
     [not found]   ` <CAF1jjLucRudE2a3gCZq6erkJKfs1nC+DicM+4f4moXJ5HPy9g@mail.gmail.com>
     [not found]     ` <1353099257.140499471@f123.mail.ru>
     [not found]       ` <CAF1jjLsA1nzLaJejMiAfzqZZ8btw37n0B3H7_qz-UrLvNQGqzA@mail.gmail.com>
2012-11-17  1:54         ` Matthias Klose [this message]
2012-11-18  7:52           ` NightStrike
2012-11-20 16:21           ` Andrew Haley
2012-11-26 15:08             ` Matthias Klose

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=50A6EE27.4000605@ubuntu.com \
    --to=doko@ubuntu.com \
    --cc=aph@redhat.com \
    --cc=gc@linux.hpl.hp.com \
    --cc=ivmai@mail.ru \
    --cc=java-patches@gcc.gnu.org \
    --cc=ktietz70@googlemail.com \
    --cc=nightstrike@gmail.com \
    /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).