RFR: 8320886: Unsafe_SetMemory0 is not guarded

Jorn Vernee jvernee at openjdk.org
Tue Nov 28 19:01:15 UTC 2023


On Tue, 28 Nov 2023 12:12:55 GMT, Francesco Nigro <duke 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

@franz1981 I can not interact with PRs that have the OCA label. Once you have signed the OCA, and it is verified (label is removed), I can take a look.

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

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


More information about the hotspot-dev mailing list