mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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:
parent
4b16f8ab94
commit
2a406f3ce5
64 changed files with 488 additions and 488 deletions
|
@ -69,7 +69,6 @@ import jdk.internal.module.ModuleBootstrap;
|
|||
import jdk.internal.module.ServicesCatalog;
|
||||
import jdk.internal.reflect.CallerSensitive;
|
||||
import jdk.internal.reflect.Reflection;
|
||||
import jdk.internal.HotSpotIntrinsicCandidate;
|
||||
import jdk.internal.access.JavaLangAccess;
|
||||
import jdk.internal.access.SharedSecrets;
|
||||
import jdk.internal.misc.VM;
|
||||
|
@ -77,6 +76,7 @@ import jdk.internal.logger.LoggerFinderLoader;
|
|||
import jdk.internal.logger.LazyLoggers;
|
||||
import jdk.internal.logger.LocalizedLoggerWrapper;
|
||||
import jdk.internal.util.SystemProps;
|
||||
import jdk.internal.vm.annotation.IntrinsicCandidate;
|
||||
import jdk.internal.vm.annotation.Stable;
|
||||
import sun.nio.fs.DefaultFileSystemProvider;
|
||||
import sun.reflect.annotation.AnnotationType;
|
||||
|
@ -427,7 +427,7 @@ public final class System {
|
|||
* the current time and midnight, January 1, 1970 UTC.
|
||||
* @see java.util.Date
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native long currentTimeMillis();
|
||||
|
||||
/**
|
||||
|
@ -471,7 +471,7 @@ public final class System {
|
|||
* high-resolution time source, in nanoseconds
|
||||
* @since 1.5
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native long nanoTime();
|
||||
|
||||
/**
|
||||
|
@ -566,7 +566,7 @@ public final class System {
|
|||
* @throws NullPointerException if either {@code src} or
|
||||
* {@code dest} is {@code null}.
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native void arraycopy(Object src, int srcPos,
|
||||
Object dest, int destPos,
|
||||
int length);
|
||||
|
@ -584,7 +584,7 @@ public final class System {
|
|||
* @see Object#hashCode
|
||||
* @see java.util.Objects#hashCode(Object)
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native int identityHashCode(Object x);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue