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
|
@ -31,7 +31,7 @@ import java.lang.constant.ConstantDesc;
|
|||
import java.util.Optional;
|
||||
|
||||
import jdk.internal.math.FloatingDecimal;
|
||||
import jdk.internal.HotSpotIntrinsicCandidate;
|
||||
import jdk.internal.vm.annotation.IntrinsicCandidate;
|
||||
|
||||
/**
|
||||
* The {@code Float} class wraps a value of primitive type
|
||||
|
@ -438,7 +438,7 @@ public final class Float extends Number
|
|||
* @return a {@code Float} instance representing {@code f}.
|
||||
* @since 1.5
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static Float valueOf(float f) {
|
||||
return new Float(f);
|
||||
}
|
||||
|
@ -650,7 +650,7 @@ public final class Float extends Number
|
|||
*
|
||||
* @return the {@code float} value represented by this object
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public float floatValue() {
|
||||
return value;
|
||||
}
|
||||
|
@ -768,7 +768,7 @@ public final class Float extends Number
|
|||
* @param value a floating-point number.
|
||||
* @return the bits that represent the floating-point number.
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static int floatToIntBits(float value) {
|
||||
if (!isNaN(value)) {
|
||||
return floatToRawIntBits(value);
|
||||
|
@ -811,7 +811,7 @@ public final class Float extends Number
|
|||
* @return the bits that represent the floating-point number.
|
||||
* @since 1.3
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native int floatToRawIntBits(float value);
|
||||
|
||||
/**
|
||||
|
@ -873,7 +873,7 @@ public final class Float extends Number
|
|||
* @return the {@code float} floating-point value with the same bit
|
||||
* pattern.
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static native float intBitsToFloat(int bits);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue