RFR: 8372845: C2: Fold identity hash code if object is constant [v3]
Vladimir Ivanov
vlivanov at openjdk.org
Wed Dec 10 19:49:07 UTC 2025
On Wed, 10 Dec 2025 17:18:15 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> The C2 requirement is effective if a build configuration disables the compiler2 feature. I don't know if we run tests in such a build. I copied this from `compiler/c2/irTests/TestEnumFinalFold.java` in particular.
>
> You can for example run it with C1 or Xint only. That would disable the test. Or someone runs it with Graal.
> I would generally remove `@requires` from any test we can, to get more coverage.
It's a test on C2 IR. What's the point in running it w/o C2?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28589#discussion_r2608004982
More information about the hotspot-dev
mailing list