JDK-8137173 : @HotSpotIntrinsicCandidate is not Oracle-specific
  • Type: Bug
  • Component: core-libs
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-25
  • Updated: 2015-11-12
  • Resolved: 2015-10-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b89Fixed
Related Reports
Relates :  
Relates :  
Description
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