RFR: 8320886: Unsafe_SetMemory0 is not guarded [v2]

Jorn Vernee jvernee at openjdk.org
Wed Nov 29 19:13:34 UTC 2023


> 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)

Jorn Vernee has updated the pull request incrementally with two additional commits since the last revision:

 - add handling for missing instruction
 - Print out instruction

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16848/files
  - new: https://git.openjdk.org/jdk/pull/16848/files/e05c2b93..e9a5247e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16848&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16848&range=00-01

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16848.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16848/head:pull/16848

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


More information about the hotspot-dev mailing list