RFR: 8320886: Unsafe_SetMemory0 is not guarded

Francesco Nigro duke at openjdk.org
Tue Nov 28 19:01:14 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)

@JornVernee please check what I have done for https://github.com/openjdk/jdk/pull/16760

Maybe there is something we can pull in already on your PR here re it

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

PR Comment: https://git.openjdk.org/jdk/pull/16848#issuecomment-1829720912


More information about the hotspot-dev mailing list