From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14498 invoked by alias); 27 Apr 2002 01:59:42 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 14491 invoked from network); 27 Apr 2002 01:59:38 -0000 Received: from unknown (HELO deimos.hpl.hp.com) (192.6.19.190) by sources.redhat.com with SMTP; 27 Apr 2002 01:59:38 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by deimos.hpl.hp.com (8.9.3 (PHNE_24419)/HPL-PA Relay) with ESMTP id SAA14076; Fri, 26 Apr 2002 18:59:38 -0700 (PDT) Received: from hplex1.hpl.hp.com (hplex1.hpl.hp.com [15.0.152.182]) by hplms2.hpl.hp.com (8.10.2/8.10.2 HPL-PA Hub) with SMTP id g3R1xbj12732; Fri, 26 Apr 2002 18:59:37 -0700 (PDT) Received: from 15.0.152.182 by hplex1.hpl.hp.com (InterScan E-Mail VirusWall NT); Fri, 26 Apr 2002 18:59:36 -0700 Received: by hplex1.hpl.hp.com with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Apr 2002 18:59:36 -0700 Message-ID: <40700B4C02ABD5119F000090278766443BF24F@hplex1.hpl.hp.com> From: "Boehm, Hans" To: "'tromey@redhat.com'" , "Boehm, Hans" Cc: "'java@gcc.gnu.org'" Subject: RE: Gcj build instructions Date: Fri, 26 Apr 2002 23:46:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-04/txt/msg00385.txt.bz2 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 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 >