RFR: 8357739: [jittester] disable the hashCode method
duke
duke at openjdk.org
Thu Jul 3 07:17:43 UTC 2025
On Tue, 17 Jun 2025 19:49:34 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> JITTester often uses the `hasCode` method (in fact, in almost every generated test). Given that the method can be unstable between runs or in interpreted vs compiled runs, it can create false-positives.
>
> This PR fixes the issue by adding support for method templates similar to the ones used in CompilerCommands). All of those exclude templates match (and exclude) `String.indexOf(String)`, for example:
>
> java/lang/::*(Ljava/lang/String;I)
> *String::indexOf(*)
> java/lang/*::indexOf
>
>
> Additionally, the PR adds support for comments (starting from '#') and empty lines in the excludes file.
@lepestock
Your change (at version 5c9a71b9c5b6f418a97e6b0557431aafc73addc6) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25859#issuecomment-3031148211
More information about the hotspot-compiler-dev
mailing list