hg: jdk9/sandbox/hotspot: Fix for 8132332 Unsafe intrinsics overhaul for VarHandles.

paul.sandoz at oracle.com paul.sandoz at oracle.com
Tue Jul 28 16:55:13 UTC 2015


Changeset: f70bae44eb43
Author:    shade
Date:      2015-07-28 18:53 +0200
URL:       http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/f70bae44eb43

Fix for 8132332 Unsafe intrinsics overhaul for VarHandles.
Make intrinsic the Unsafe getXAcquire and putXRelease methods.
Nominally, because CPUOrder barriers are apparently required
on both sides of access, and also IRIW handling is only doable
on VM side. Therefore, the change implements all methods in
unsafe.cpp, and rewires the inline_unsafe_access to handle two
more flavors of intrinsics: Acquire and Release.

! src/share/vm/classfile/vmSymbols.hpp
! src/share/vm/opto/library_call.cpp
! src/share/vm/prims/unsafe.cpp
! src/share/vm/runtime/globals.hpp



More information about the jdk9-sandbox-changes mailing list