[8u] Request for approval: 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms

Severin Gehwolf sgehwolf at redhat.com
Wed Nov 18 10:50:21 UTC 2015


I'd like to ask for approval of a Zero-specific hotspot 8 backport.
Currently, the jdk8u forest fails to build the Zero variant with GCC 5
due to this:

src/os_cpu/linux_zero/vm/os_linux_zero.cpp:59:10: error: function returns address of local variable [-Werror=return-local-addr]
   return dummy;
src/os_cpu/linux_zero/vm/os_linux_zero.cpp:58:11: note: declared here
   address dummy = (address) &dummy;
Note: Fedora 22+ have GCC 5. The above problem and the actual overflow
bug (if warning is ignored at build time + on relevant arch) goes away
when JDK-8087120 gets backported to 8u.

Original Bug: https://bugs.openjdk.java.net/browse/JDK-8087120
9 webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8087120/webrev.01/
9 review thread: http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-June/018884.html

The 9 webrev applies with no change to the 8 forest. I'd need somebody
to sponsor this for me.


More information about the hotspot-dev mailing list