RFR: 8349860: Make Class.isArray(), Class.isInterface() and Class.isPrimitive() non-native [v7]
Coleen Phillimore
coleenp at openjdk.org
Sat Feb 22 14:49:38 UTC 2025
> Class.isInterface() can check modifier flags, Class.isArray() can check whether component mirror is non-null and Class.isPrimitive() needs a new final transient boolean in java.lang.Class that the JVM code initializes.
> Tested with tier1-4 and performance tests.
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Use modifiers field directly in isInterface.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23572/files
- new: https://git.openjdk.org/jdk/pull/23572/files/c23718b3..db7c9782
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23572&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23572&range=05-06
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23572.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23572/head:pull/23572
PR: https://git.openjdk.org/jdk/pull/23572
More information about the core-libs-dev
mailing list