On 2 May 2018 at 13:43, Severin Gehwolf <sgehw...@redhat.com> wrote:
> Hi,
>
> Could I please get a review for a fix which went into JDK 11 already.
> It reduces the maximum heap requirement for 32bit builds, which breaks
> s390 (31 bit) builds:
>
> + /usr/lib/jvm/java-openjdk/bin/java -Xms64M -Xmx1100M 
> -XX:ThreadStackSize=768 -XX:PermSize=32m -XX:MaxPermSize=160m 
> -Xbootclasspath/p:/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.171-8.b10.el7.s390/openjdk/build/jdk8.build/langtools/dist/bootstrap/lib/javac.jar
>  -classpath 
> /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.171-8.b10.el7.s390/openjdk/build/jdk8.build/langtools/btclasses
>  genstubs.GenStubs -s 
> /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.171-8.b10.el7.s390/openjdk/build/jdk8.build/langtools/tmpstubs
>  -sourcepath 
> /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.171-8.b10.el7.s390/openjdk/jdk/src/share/classes
>  java.util.function.Predicate
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> gmake[1]: Leaving directory 
> `/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.171-8.b10.el7.s390/openjdk/langtools/make'
> gmake[1]: *** No rule to make target `all', needed by `default'.  Stop.
> make: *** [langtools-only] Error 2
>
> The patch for JDK 11 does not apply cleanly since the build system got
> changed. The JDK 8 patch is here:
>
> webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8201495/webrev.jdk8/
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8201495
> JDK 11 review: 
> http://mail.openjdk.java.net/pipermail/build-dev/2018-April/021754.html
>
> Once this has been reviewed, I'll ask for approval on the jdk8u-dev
> list before it gets pushed to JDK 8u.
>
> Thanks,
> Severin

Looks good to me, though I believe it will also need a re-generated
configure script
for inclusion in 8u (and thus needs to be pushed by someone at Oracle
with access
to their closed repos).
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Web Site: http://fuseyism.com
Twitter: https://twitter.com/gnu_andrew_java
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

Reply via email to