8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package

Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
This commit is contained in:
Philippe Marschall 2020-09-30 20:05:07 +00:00 committed by Vladimir Kozlov
parent 4b16f8ab94
commit 2a406f3ce5
64 changed files with 488 additions and 488 deletions

View file

@ -39,11 +39,11 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.LockSupport;
import jdk.internal.misc.TerminatingThreadLocal;
import sun.nio.ch.Interruptible;
import jdk.internal.reflect.CallerSensitive;
import jdk.internal.reflect.Reflection;
import jdk.internal.vm.annotation.IntrinsicCandidate;
import sun.nio.ch.Interruptible;
import sun.security.util.SecurityConstants;
import jdk.internal.HotSpotIntrinsicCandidate;
/**
* A <i>thread</i> is a thread of execution in a program. The Java
@ -257,7 +257,7 @@ public class Thread implements Runnable {
*
* @return the currently executing thread.
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public static native Thread currentThread();
/**
@ -373,7 +373,7 @@ public class Thread implements Runnable {
*
* @since 9
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public static void onSpinWait() {}
/**