RFR: 8340212: -Xshare:off -XX:CompressedClassSpaceBaseAddress=0x40001000000 crashes on macos-aarch64 [v4]

Coleen Phillimore coleenp at openjdk.org
Mon Dec 2 18:47:42 UTC 2024


On Fri, 29 Nov 2024 09:51:10 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> The former is a user error and should result in an initialization error, exactly like we do for a wrong CompressedClassSpaceBaseAddress.

I was trying to allow SharedBaseAddress to turn off CDS and not give an error.  What you suggested is easier.  I had a variant of this at one point with klass_decode_node() returning false but not setting decode_node also would work.

Thanks for looking at this.  I'm going to continue to subsume your PR in this one.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21695#issuecomment-2512412771


More information about the hotspot-dev mailing list