Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 13:58:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 260187] java/bootstrap-openjdk17: broken on aarch64
Message-ID:  <bug-260187-8522-LbFbbdZhjb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260187-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260187-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260187

--- Comment #9 from Ronald Klop <ronald-lists@klop.ws> ---
These settings have something to do with it:

[root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java  -version
Error occurred during initialization of VM
Could not allocate compressed class space: 1073741824 bytes

[root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java
-XX:CompressedClassSpaceSize=3D1m -version
Error occurred during initialization of VM
Could not allocate compressed class space: 4194304 bytes

[root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java
-XX:CompressedClassSpaceSize=3D10g -version
size_t CompressedClassSpaceSize=3D10737418240 is outside the allowed range [
1048576 ... 3221225472 ]
Improperly specified VM option 'CompressedClassSpaceSize=3D10g'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

No value of CompressedClassSpaceSize works. But disabling
CompressedClassPointers does:

[root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java
-XX:-UseCompressedClassPointers -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-1)
OpenJDK 64-Bit Server VM (build 17.0.1+12-1, mixed mode)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260187-8522-LbFbbdZhjb>