RFR: 8320886: Unsafe_SetMemory0 is not guarded
Jorn Vernee
jvernee at openjdk.org
Tue Nov 28 19:01:19 UTC 2023
On Tue, 28 Nov 2023 12:09:12 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> See JBS issue.
>
> Guard the memory access done in Unsafe_SetMemory0 to prevent a SIGBUS error from crashing the VM when a truncated memory mapped file is accessed.
>
> Testing: local `InternalErrorTest`, Tier 1-5 (ongoing)
https://github.com/openjdk/jdk/pull/16760 Looks more performance focused, so I think that should be addressed separately.
I'm looking into the crash on mac
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16848#issuecomment-1830488963
PR Comment: https://git.openjdk.org/jdk/pull/16848#issuecomment-1830491876
More information about the hotspot-dev
mailing list