RFR: 8357739: [jittester] disable the hashCode method
Leonid Mesnik
lmesnik at openjdk.org
Wed Jul 2 16:29:39 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.
Marked as reviewed by lmesnik (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/25859#pullrequestreview-2979848692
More information about the hotspot-compiler-dev
mailing list