summaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/lang/System.java
diff options
context:
space:
mode:
authorPhilippe Marschall <philippe.marschall@gmail.com>2020-09-30 20:05:07 +0000
committerVladimir Kozlov <kvn@openjdk.org>2020-09-30 20:05:07 +0000
commit2a406f3ce5e200af9909ce051fdeed0cc059fea0 (patch)
treed47f71c31914dbcfd2f2e863432c7a32e34527f1 /src/java.base/share/classes/java/lang/System.java
parent4b16f8ab942b08b249abfe6f95c4ded3ef139ef0 (diff)
downloadopenjdk-2a406f3ce5e200af9909ce051fdeed0cc059fea0.tar.gz
openjdk-2a406f3ce5e200af9909ce051fdeed0cc059fea0.zip
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
Diffstat (limited to 'src/java.base/share/classes/java/lang/System.java')
-rw-r--r--src/java.base/share/classes/java/lang/System.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java.base/share/classes/java/lang/System.java b/src/java.base/share/classes/java/lang/System.java
index b8ab97f008c..7581b07154f 100644
--- a/src/java.base/share/classes/java/lang/System.java
+++ b/src/java.base/share/classes/java/lang/System.java
@@ -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);
/**