Zero JVM variant build broken by JDK-8150044?

Severin Gehwolf sgehwolf at redhat.com
Thu May 19 14:59:09 UTC 2016


On Thu, 2016-05-19 at 16:38 +0200, Erik Joelsson wrote:
> Please do.

Done:
https://bugs.openjdk.java.net/browse/JDK-8157336
Cheers,
Severin

> /Erik
> 
> On 2016-05-19 16:33, Severin Gehwolf wrote:
> > 
> > On Thu, 2016-05-19 at 15:10 +0200, Erik Joelsson wrote:
> > > 
> > > That's a good point, we should add a way to turn it off.
> > OK. Shall I open a bug for this?
> > 
> > Cheers,
> > Severin
> > 
> > > 
> > > /Erik
> > > 
> > > On 2016-05-19 14:59, Severin Gehwolf wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I'm looking into a build failure we are seeing for the Zero JVM
> > > > variant
> > > > build of JDK 9. The failure looks like this:
> > > > 
> > > > Generating lib/classlist
> > > > /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs-
> > > > pristine/build/linux-x86_64-normal-zero-
> > > > release/support/interim-image/bin/java
> > > > -XX:DumpLoadedClassList=/home/sgehwolf/Documents/openjdk/upstre
> > > > am-sources/openjdk9-hs-pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist/classlist.tmp \
> > > >       -cp /home/sgehwolf/Documents/openjdk/upstream-
> > > > sources/openjdk9-hs-pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist.jar \
> > > >       build.tools.classlist.HelloClasslist  2>&1
> > > > hello
> > > > world!
> > > > from:
> > > > localhost/127.0.0.1
> > > > May 19, 2016 2:51:40 PM build.tools.classlist.HelloClasslist
> > > > main
> > > > INFO: New Date: 2016-05-19T12:51:40.73984 - old: 2016 May 19
> > > > 
> > > > /home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs-
> > > > pristine/build/linux-x86_64-normal-zero-
> > > > release/support/interim-image/bin/java
> > > > -XX:DumpLoadedClassList=/home/sgehwolf/Documents/openjdk/upstre
> > > > am-sources/openjdk9-hs-pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist/classlist \
> > > >       -Xshare:dump
> > > > -XX:SharedClassListFile=/home/sgehwolf/Documents/openjdk/upstre
> > > > am-sources/openjdk9-hs-pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist/classlist.tmp  2>&1
> > > > Error occurred during initialization of VM
> > > > Cannot dump shared archive when UseCompressedOops or
> > > > UseCompressedClassPointers is off.
> > > > GenerateClasslist.gmk:60: recipe for target
> > > > '/home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs-
> > > > pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist/classlist' failed
> > > > gmake[3]: *** [/home/sgehwolf/Documents/openjdk/upstream-
> > > > sources/openjdk9-hs-pristine/build/linux-x86_64-normal-zero-
> > > > release/support/classlist/classlist] Error 1
> > > > gmake[3]: Leaving directory
> > > > '/home/sgehwolf/Documents/openjdk/upstream-sources/openjdk9-hs-
> > > > pristine/jdk/make'
> > > > make/Main.gmk:373: recipe for target 'generate-classlist'
> > > > failed
> > > > gmake[2]: *** [generate-classlist] Error 1
> > > > gmake[2]: *** Waiting for unfinished jobs....
> > > > 
> > > > 
> > > > So it seems the build after JDK-8150044 uses -Xshare:dump
> > > > during the
> > > > build process. However, that option isn't supported for Zero
> > > > and will
> > > > likely never be. Is there a way to turn "generate-classlist"
> > > > off?
> > > > 
> > > > Thanks,
> > > > Severin




More information about the build-dev mailing list