RFR: 8330821: Rename UnsafeCopyMemory
Vladimir Kozlov
kvn at openjdk.org
Mon Apr 22 18:11:30 UTC 2024
On Mon, 22 Apr 2024 13:48:41 GMT, Scott Gibbons <sgibbons at openjdk.org> wrote:
> Renaming UnsafeCopyMemory to UnsafeMemoryAccess since this class is now being used for Unsafe::setMemory. This is a pure rename only.
src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp line 1524:
> 1522: // UnsafeMemoryAccess page error: continue after ucm
> 1523: bool add_entry = !is_oop && (!aligned || sizeof(jlong) == size);
> 1524: UnsafeMemoryAccessMark ucmm(this, add_entry, true);
May be rename `ucmm` and other related locals too to avoid confusion. Word `ucm` in comments too.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18889#discussion_r1575178012
More information about the hotspot-compiler-dev
mailing list