Relates :
|
|
Relates :
|
The doc comment for the @jdk.internal.HotSpotIntrinsicCandidate annotation says that it is "specific to the Oracle Java HotSpot Virtual Machine implementation". That's not true. The annotation is defined in the open-source HotSpot repository, so it is in fact available in all implementations derived from that code, whether from Oracle or from other vendors. Suggested fix: --- a/src/java.base/share/classes/jdk/internal/HotSpotIntrinsicCandidate.java +++ b/src/java.base/share/classes/jdk/internal/HotSpotIntrinsicCandidate.java @@ -28,8 +28,8 @@ import java.lang.annotation.*; /** - * The {@code @HotSpotIntrinsicCandidate} annotation is specific to the Oracle Java - * HotSpot Virtual Machine implementation and indicates that an annotated method + * The {@code @HotSpotIntrinsicCandidate} annotation is specific to the + * HotSpot Virtual Machine. It indicates that an annotated method * may be (but is not guaranteed to be) intrinsified by the HotSpot VM. A method * is intrinsified if the HotSpot VM replaces the annotated method with hand-written * assembly and/or hand-written compiler IR -- a compiler intrinsic -- to improve