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

Yudi Zheng yzheng at openjdk.org
Mon Nov 25 16:56:14 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 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 three additional commits since the last revision:

 - Merge master
 - address comment.
 - Override ModifiersProvider.isConcrete in ResolvedJavaType

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

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

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

  Stats: 201908 lines in 4047 files changed: 70839 ins; 116328 del; 14741 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