RFR: 8355223: Improve documentation on @IntrinsicCandidate [v6]
Chen Liang
liach at openjdk.org
Wed Apr 30 22:26:30 UTC 2025
> In offline discussion, we noted that the documentation on this annotation does not recommend minimizing the intrinsified section and moving whatever can be done in Java to Java; thus I prepared this documentation update, to shrink a "TLDR" essay to something concise for readers, such as pointing to that list at `vmIntrinsics.hpp` instead of "a list".
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:
- Move intrinsic to be a subsection; just one most common function of the annotation
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/intrinsic-candidate
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/intrinsic-candidate
- Update src/java.base/share/classes/jdk/internal/vm/annotation/IntrinsicCandidate.java
Co-authored-by: Raffaello Giulietti <raffaello.giulietti at oracle.com>
- Shorter first sentence
- Updates, thanks to John
- Refine validation and defensive copying
- 8355223: Improve documentation on @IntrinsicCandidate
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24777/files
- new: https://git.openjdk.org/jdk/pull/24777/files/24ed1cc1..317dd27a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24777&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24777&range=04-05
Stats: 51812 lines in 1375 files changed: 39564 ins; 7638 del; 4610 mod
Patch: https://git.openjdk.org/jdk/pull/24777.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24777/head:pull/24777
PR: https://git.openjdk.org/jdk/pull/24777
More information about the core-libs-dev
mailing list