JVM crashing insides chroots - was: Re: Zero crashing on ARM
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Wed Nov 29 13:56:54 UTC 2017
On 11/29/2017 02:49 PM, Severin Gehwolf wrote:
>> In any case, it will potentially cause issues with chroots as they are used
>> on Linux distributions for building packages.
>
> Agreed. It needs to be fixed. The default is +UseContainerSupport after
> all.
It seems to have huge performance impact, too:
(sid-amd64-sbuild)root at trlin:/usr/src/hs# time /usr/bin/java -version
openjdk version "9.0.1"
OpenJDK Runtime Environment (build 9.0.1+11-Debian-1)
OpenJDK 64-Bit Server VM (build 9.0.1+11-Debian-1, mixed mode)
real 0m0.101s
user 0m0.128s
sys 0m0.019s
(sid-amd64-sbuild)root at trlin:/usr/src/hs# time /usr/src/hs/build/linux-x86_64-normal-zero-release/jdk/bin/java -XX:-UseContainerSupport -version
openjdk version "10-internal"
OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.hs)
OpenJDK 64-Bit Zero VM (build 10-internal+0-adhoc.root.hs, interpreted mode)
real 0m26.010s
user 0m25.551s
sys 0m0.380s
(sid-amd64-sbuild)root at trlin:/usr/src/hs#
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the hotspot-dev
mailing list