> As the title says, adding final to fields that do not change and BitSieve > that will not be inherited will make C2 optimization more friendly.
Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision: Update src/java.base/share/classes/java/math/BitSieve.java Co-authored-by: Chen Liang <li...@openjdk.org> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24796/files - new: https://git.openjdk.org/jdk/pull/24796/files/6e5f708c..1bdbd42a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24796&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24796&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/24796.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24796/head:pull/24796 PR: https://git.openjdk.org/jdk/pull/24796