RFR (S): 8218879: Keep track of memory accesses originated from Unsafe
vladimir.x.ivanov at oracle.com
Tue Feb 12 23:30:27 UTC 2019
It may be useful to differentiate memory accesses originated from
bytecode and Unsafe.
While JVM performs access checks for field accesses and range checks for
array accesses, it's user responsibility to perform all necessary checks
to ensure safety when it comes to Unsafe.
From compiler perspective, it may be useful to distinguish between
those when it matters what kind of checks have been performed.
Testing: hs-precheckin-comp, tier1-5
More information about the hotspot-compiler-dev