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

Coleen Phillimore coleenp at openjdk.org
Tue Dec 3 16:04:42 UTC 2024


On Mon, 2 Dec 2024 23:03:57 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Added checks to verify that the given compressed class base or shared base address and shift given will be decodable for aarch64.  This code is moved in PR https://github.com/openjdk/jdk/pull/20677 so this would be moved to the new place once that's integrated.
>> 
>> Tested with tier1-7.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Missed one. Another good reason to not copy code.

I did my patch this way because I thought for the test failures, that SharedBaseAddress shouldn't be a user error.  It doesn't fail mostly because it's ignored when the OS can't map to that address so I thought that this should ignore it too, rather than give a fatal error.

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

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


More information about the hotspot-dev mailing list