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

Yudi Zheng yzheng at openjdk.org
Tue Nov 26 17:14:35 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 five additional commits since the last revision:

 - Merge master
 - address comments.
 - 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/15dd865f..3b4d58fd

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

  Stats: 12558 lines in 235 files changed: 8304 ins; 2820 del; 1434 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