RFR: 8355223: Improve documentation on @IntrinsicCandidate [v6]

Chen Liang liach at openjdk.org
Tue May 20 10:38:51 UTC 2025


On Tue, 20 May 2025 06:07:07 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/vm/annotation/IntrinsicCandidate.java line 47:
>> 
>>> 45:  * intrinsics necessary.
>>> 46:  * <p>
>>> 47:  * Intrinsification may never happen, or happen at any moment during execution.
>> 
>> s/or happen/or may happen/ (easier to parse)
>
> Hello John, are there are any hotspot VM flags that can be enabled to check whether or not intrinsification happen for a particular method during the lifetime of an application? Should any of those flags be documented in this proposed text?

I see there is a `ControlIntrinsic` flag in `globals.hpp`, but I am not sure how it actually interacts with intrinsics.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24777#discussion_r2097622562


More information about the core-libs-dev mailing list