RFR: 8343693: [JVMCI] Override ModifiersProvider.isConcrete in ResolvedJavaType to be isArray() || !isAbstract() [v2]

Yudi Zheng yzheng at openjdk.org
Mon Nov 25 16:49:54 UTC 2024


> The `isArray() || !isAbstract()` idiom is often used in Graal for expressing if a type is concrete and can be instantiated. This PR overrides `ModifiersProvider.isConcrete` in `ResolvedJavaType` to provide this idiom.

Yudi Zheng has updated the pull request incrementally with one additional commit since the last revision:

  address comment.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22111/files
  - new: https://git.openjdk.org/jdk/pull/22111/files/7a56b644..7f23a823

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22111&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22111&range=00-01

  Stats: 14 lines in 2 files changed: 12 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/22111.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22111/head:pull/22111

PR: https://git.openjdk.org/jdk/pull/22111


More information about the hotspot-compiler-dev mailing list