public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: Gcj build instructions
@ 2002-04-26 23:46 Boehm, Hans
  0 siblings, 0 replies; 3+ messages in thread
From: Boehm, Hans @ 2002-04-26 23:46 UTC (permalink / raw)
  To: 'tromey@redhat.com', Boehm, Hans; +Cc: 'java@gcc.gnu.org'

Tom -

I finally got a little bit of time to investigate.  Apparently it currently
only works on X86 and IA64.  (And HP/UX, but AFAIK the rest of gcj still
doesn't work there.)  I suspect we just need to point the GC at the right
compare-and-swap and memory barrier definitions to make it work on other
platforms.  But that clearly won't happen for 3.1.

I think the right description for --enable-parallel-mark is something like:

The enables parallel garbage collection in the Boehm GC.  It causes the
collector to create additional threads which will wake up during garbage
collection to help trace live data.  This may lead to substantial
performance improvements on multiprocessors.  It typically leads to a mild
slowdown on uniprocessors.  Currently only supported on Linux/X86 and
Linux/IA64.  Should normally be enabled if the expected target is a
multiprocessor platform of one of the two preceding types. 

I haven't entirely made sense out of what documentation is where, or where
such things should be described.  It should probably be described in roughly
the same place as --disable-jvmpi.  But I couldn't find a description of
that either.  Should there be a list of Java runtime configuration options
and their descriptions hanfing from
http://gcc.gnu.org/java/build-snapshot.html ?

Hans

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Friday, April 19, 2002 5:07 PM
> To: Boehm, Hans
> Cc: 'java@gcc.gnu.org'
> Subject: Re: Gcj build instructions
> 
> 
> >>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:
> 
> Hans> Should the gcj build instructions also mention
> Hans> --enable-parallel-mark?
> 
> Yes, definitely.  Which instructions in particular?
> gcc/doc/install.texi?  Are there otehrs?
> 
> Hans> I haven't done a systematic study with gcj recently, but my
> Hans> impression is that it's a substantial win for multiprocessor
> Hans> servers, and a mild loss for uniprocessors.  I believe it works
> Hans> reliably on at least X86 and IA64 Linux.  I thought others had
> Hans> also used it on other platforms?
> 
> If you can dig up the information I'll be happy to write the patch.
> 
> Tom
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gcj build instructions
  2002-04-19 11:54 Boehm, Hans
@ 2002-04-19 17:10 ` Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2002-04-19 17:10 UTC (permalink / raw)
  To: Boehm, Hans; +Cc: 'java@gcc.gnu.org'

>>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:

Hans> Should the gcj build instructions also mention
Hans> --enable-parallel-mark?

Yes, definitely.  Which instructions in particular?
gcc/doc/install.texi?  Are there otehrs?

Hans> I haven't done a systematic study with gcj recently, but my
Hans> impression is that it's a substantial win for multiprocessor
Hans> servers, and a mild loss for uniprocessors.  I believe it works
Hans> reliably on at least X86 and IA64 Linux.  I thought others had
Hans> also used it on other platforms?

If you can dig up the information I'll be happy to write the patch.

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Gcj build instructions
@ 2002-04-19 11:54 Boehm, Hans
  2002-04-19 17:10 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Boehm, Hans @ 2002-04-19 11:54 UTC (permalink / raw)
  To: 'tromey@redhat.com'; +Cc: 'java@gcc.gnu.org'

Should the gcj build instructions also mention --enable-parallel-mark?  I
haven't done a systematic study with gcj recently, but my impression is that
it's a substantial win for multiprocessor servers, and a mild loss for
uniprocessors.  I believe it works reliably on at least X86 and IA64 Linux.
I thought others had also used it on other platforms?  (It doesn't work on
Solaris, since it's incompatible with the thread-stopping code there.  We
would have to switch to using linux_threads.c there to make it work.)

Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-27  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26 23:46 Gcj build instructions Boehm, Hans
  -- strict thread matches above, loose matches on Subject: below --
2002-04-19 11:54 Boehm, Hans
2002-04-19 17:10 ` Tom Tromey

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).