RFR: 8166790: Add stress test GCBasher

2016-09-28 Thread Erik Helin
Hi all, this patch adds a new GC stress test called GCBasher. GCBasher builds up large (well, for some definiton of large) object graphs by figuring out the relations between classes in the JDK. The test usually stresses the GC quite a lot, especially when run with a smaller heap. The changes in

Re: RFR: 8166790: Add stress test GCBasher

2016-09-28 Thread Erik Joelsson
JPRT changes look good to me. /Erik On 2016-09-28 17:01, Erik Helin wrote: Hi all, this patch adds a new GC stress test called GCBasher. GCBasher builds up large (well, for some definiton of large) object graphs by figuring out the relations between classes in the JDK. The test usually stresse

RFR: JDK-8160630: libjimage.so and others should link statically to libgcc

2016-09-28 Thread Erik Joelsson
When linking C++ on Linux, we currently have a clunky construct to enforce static linking of libstdc++ and libgcc which looks like this: -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic To make it work, we also change the linker to "gcc" instead of "g++". The problem with this construct is that it do

Re: RFR: 8166189: Fix for Bug 8165524 breaks AIX build

2016-09-28 Thread Volker Simonis
On Wed, Sep 28, 2016 at 3:03 PM, Kumar Srinivasan wrote: > > Hello Thomas, Volker, > > > Hi Kumar, > >> >> On 9/16/2016 10:34 AM, Volker Simonis wrote: >>> >>> Hi Christoph, >>> >>> I think your change is fine as a quick-fix to fix the build. But >>> you're completely right that this should be rew

Re: RFR: 8166189: Fix for Bug 8165524 breaks AIX build

2016-09-28 Thread Martin Buchholz
On Wed, Sep 28, 2016 at 9:33 AM, Volker Simonis wrote: > > I don't think this can be easily done with the current build system. > Remember for example that even such a sensitive part like jni.h is > still duplicated between the hotspot and the jdk repository: > > hotspot/src/share/vm/prims/jni.h

Re: RFR: 8166189: Fix for Bug 8165524 breaks AIX build

2016-09-28 Thread Thomas Stüfe
On Wed, Sep 28, 2016 at 7:33 PM, Martin Buchholz wrote: > On Wed, Sep 28, 2016 at 9:33 AM, Volker Simonis > wrote: > > > > > I don't think this can be easily done with the current build system. > > Remember for example that even such a sensitive part like jni.h is > > still duplicated between th

Re: RFR: 8166189: Fix for Bug 8165524 breaks AIX build

2016-09-28 Thread Chris Bensen
> On Sep 28, 2016, at 11:50 AM, Thomas Stüfe wrote: > > > > On Wed, Sep 28, 2016 at 7:33 PM, Martin Buchholz > wrote: > On Wed, Sep 28, 2016 at 9:33 AM, Volker Simonis > > wrote: > > > > > I don't think this can be easily done wit

Re: RFR: 8166790: Add stress test GCBasher

2016-09-28 Thread David Holmes
Hi Erik, On 29/09/2016 1:01 AM, Erik Helin wrote: Hi all, this patch adds a new GC stress test called GCBasher. GCBasher builds up large (well, for some definiton of large) object graphs by figuring out the relations between classes in the JDK. The test usually stresses the GC quite a lot, espe