Integrated: 8357739: [jittester] disable the hashCode method
Evgeny Nikitin
enikitin at openjdk.org
Thu Jul 3 17:01:48 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.
This pull request has now been integrated.
Changeset: a2315ddd
Author: Evgeny Nikitin <enikitin at openjdk.org>
Committer: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a2315ddd2a343ed594dd1b0b3d0dc5b3a71f509b
Stats: 556 lines in 4 files changed: 402 ins; 121 del; 33 mod
8357739: [jittester] disable the hashCode method
Reviewed-by: lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/25859
More information about the hotspot-compiler-dev
mailing list