-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Java9 sun.misc.Unsafe JNI methods are moved to jdk.internal and replaced with simple wrappers. This leads to a few places in the code where we do the wrong thing by assuming that the recognized Unsafe method is a JNI method. This commit adds explicit tests to prevent p codegen from attempting to transform the non-JNI versions of the unsafe CAS instructions. Signed-off-by: James Kingdon <jkingdon@ca.ibm.com>
- Loading branch information
1 parent
2f316cc
commit 111f0b0
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters