JDK-8138732 : Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-02
  • Updated: 2020-10-08
  • Resolved: 2020-09-30
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 16
16 b19Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Mark Reinhold suggested during the review of JDK-8137173:

"We don't want to create another sun.misc-like dumping ground
with jdk.internal.  We should prefer small, descriptive subpackages
for things like this so that, when they are (inevitably) exposed via
-XaddExports, their exposure can be limited.

I suggest putting this into jdk.internal.vm.annotation, which is also a
good place for the ReservedStackAccess annotation envisioned in JEP 270
(http://openjdk.java.net/jeps/270)."

----

Additional suggestion from Mark: Please rename the annotation to
@IntrinsicCandidate There's no need for the "HotSpot" prefix any more
since this annotation will now be in a package that is reserved for
VM-specific annotations.

(Sorry for this late suggestion; this just came up in a parallel
 discussion of the JEP 270's @ReservedStackAccess annotation.)

Comments
Changeset: 2a406f3c Author: Philippe Marschall <philippe.marschall@gmail.com> Committer: Vladimir Kozlov <kvn@openjdk.org> Date: 2020-09-30 20:05:07 +0000 URL: https://git.openjdk.java.net/jdk/commit/2a406f3c
30-09-2020