Integrated: 8320886: Unsafe_SetMemory0 is not guarded

Jorn Vernee jvernee at openjdk.org
Mon Dec 11 19:08:41 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

This pull request has now been integrated.

Changeset: ce4b257f
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ce4b257fa539d35a7d14bba2d5d3342093d714e1
Stats:     22 lines in 3 files changed: 12 ins; 0 del; 10 mod

8320886: Unsafe_SetMemory0 is not guarded

Reviewed-by: dholmes, fparain

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

PR: https://git.openjdk.org/jdk/pull/16848


More information about the hotspot-runtime-dev mailing list