RFR: JDK-8157336: Generation of classlists at build time should be configurable

Severin Gehwolf sgehwolf at redhat.com
Mon May 30 08:55:50 UTC 2016


cc'ing PPC folks for input.

On Wed, 2016-05-25 at 11:21 +0200, Erik Joelsson wrote:
> Thanks!
> 
> When building zero, the JVM_VARIANT is "zero" so this addresses that 
> problem automatically too. I have verified that.
> 
> There are some other peculiarities with zero in that it ends up in the 
> "server" directory so I understand that it's confusing.
> 
> /Erik
> 
> On 2016-05-24 22:35, David Holmes wrote:
> > 
> > Hi Erik,
> > 
> > On 24/05/2016 11:28 PM, Erik Joelsson wrote:
> > > 
> > > Generating a classlist at build time is not supported on all JVM
> > > configurations. This patch adds a configure flag to control this build
> > > step: --disable-generate-classlist. The default is to be enabled if
> > > either a client or server JVM Variant is being built.
> > > 
> > > Bug: https://bugs.openjdk.java.net/browse/JDK-8157336
> > > Webrev: 
> > > http://cr.openjdk.java.net/~erikj/8157336/webrev.top.01/index.html
> > This looks okay to me. It addresses the "minimal VM only" problem 
> > automatically which is good. I'm unclear if the Zero case is 
> > automatically handled as I'm not sure how the VM variants are 
> > expressed - but having the option is good enough I think.

The Zero case is handled as noted in another branch of this thread, but
I wonder if this works for "server" JVMs on PPC64? Is -Xshare:dump
working on JDK 9 and PPC64? AFAIR, in JDK 8 on PPC64 it was not
supported at some point.

Cheers,
Severin



More information about the build-dev mailing list