Integrated: 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Christian Hagedorn
chagedorn at openjdk.org
Mon Jul 10 07:47:11 UTC 2023
On Thu, 6 Jul 2023 15:11:05 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> The compiler directive `RepeatCompilation` can be used to repeat compilations of specific methods, for example for `Test::test()`:
>
> -XX:CompileCommand=RepeatCompilation,Test::test,1000
>
> When using this compiler directive in combination with `StressIGVN/CCP/GCM/LCM`, C2 only sets the stress seed once to a random value. Afterward, it keeps the seed for all repeated compilations. This should be changed to always select a random seed with each repetition (i.e. get the same behavior as the flag `RepeatCompilation`).
>
> Thanks,
> Christian
This pull request has now been integrated.
Changeset: 06a1a15d
Author: Christian Hagedorn <chagedorn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/06a1a15d014f5ca48f62f5f0c8e8682086c4ae0b
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Reviewed-by: thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/14786
More information about the hotspot-compiler-dev
mailing list