Integrated: JDK-8272703: StressSeed should be set via FLAG_SET_ERGO

Tobias Holenstein github.com+71546117+tobiasholenstein at openjdk.java.net
Thu Sep 23 13:00:03 UTC 2021


On Tue, 21 Sep 2021 08:38:57 GMT, Tobias Holenstein <github.com+71546117+tobiasholenstein at openjdk.org> wrote:

> Set the `StressSeed` (added by JDK-8252219) via `FLAG_SET_ERGO` if the seed is generated by the VM (i.e., not set via the command line). This way, `StressSeed` will be added to the "[Global flags]" section of the hs_err file on crash and can be used to reproduce the issue.
> 
> If `RepeatCompilation` is on and no `StressSeed` is set, a new `StressSeed` is generated for every compilation. The reason for this is that some Bugs are only triggered intermittent, because they depend on the `StressSeed`.

This pull request has now been integrated.

Changeset: 66ce09f5
Author:    Tobias Holenstein <tobias.holenstein at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/66ce09f51eb37029c8ba67a70f8c90a307dae1eb
Stats:     6 lines in 1 file changed: 4 ins; 0 del; 2 mod

8272703: StressSeed should be set via FLAG_SET_ERGO

Reviewed-by: chagedorn, thartmann

-------------

PR: https://git.openjdk.java.net/jdk/pull/5599


More information about the hotspot-compiler-dev mailing list