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

Doug Simon dnsimon at openjdk.org
Fri Nov 15 08:32:22 UTC 2024


On Thu, 14 Nov 2024 16:42:31 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 have its instance. This PR overrides `ModifiersProvider.isConcrete` in `ResolvedJavaType` to provide this idiom.

Please add a test for this in `TestResolvedJavaType.java`.

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

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


More information about the hotspot-compiler-dev mailing list