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

@ -1,5 +1,5 @@
/*
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -25,7 +25,7 @@
package java.lang;
import jdk.internal.HotSpotIntrinsicCandidate;
import jdk.internal.vm.annotation.IntrinsicCandidate;
/**
* Class {@code Object} is the root of the class hierarchy.
@ -41,7 +41,7 @@ public class Object {
/**
* Constructs a new object.
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public Object() {}
/**
@ -63,7 +63,7 @@ public class Object {
* class of this object.
* @jls 15.8.2 Class Literals
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public final native Class<?> getClass();
/**
@ -98,7 +98,7 @@ public class Object {
* @see java.lang.Object#equals(java.lang.Object)
* @see java.lang.System#identityHashCode
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public native int hashCode();
/**
@ -211,7 +211,7 @@ public class Object {
* be cloned.
* @see java.lang.Cloneable
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
protected native Object clone() throws CloneNotSupportedException;
/**
@ -271,7 +271,7 @@ public class Object {
* @see java.lang.Object#notifyAll()
* @see java.lang.Object#wait()
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public final native void notify();
/**
@ -296,7 +296,7 @@ public class Object {
* @see java.lang.Object#notify()
* @see java.lang.Object#wait()
*/
@HotSpotIntrinsicCandidate
@IntrinsicCandidate
public final native void notifyAll();
/**