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

Coleen Phillimore coleenp at openjdk.org
Mon Dec 9 20:54:42 UTC 2024


On Mon, 9 Dec 2024 17:40:43 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java line 87:
>> 
>>> 85: 
>>> 86:         // We ignore cases where we were not able to map at the force address
>>> 87:         if (!output.contains("Successfully forced class space address to " + forceAddressString)) {
>> 
>> "Successfully forced class space address" seems misleading. Can we change the code in metaspace.cpp to say something like "reserved class space at ...."?
>
> Ok.

Oh the "forced" was because it was using CompressedClassSpaceBaseAddress which does force it to use this address (or else it exits).  So it is accurate.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21695#discussion_r1876737139


More information about the hotspot-dev mailing list