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

Yudi Zheng yzheng at openjdk.org
Tue Nov 26 20:53:45 UTC 2024


On Tue, 26 Nov 2024 17:14:35 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

>> 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

Thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/22111#issuecomment-2501909324


More information about the hotspot-compiler-dev mailing list