RFR: 8372242: Gtest LogTagSet.defaults should run in OTHER VM
Johan Sjölen
jsjolen at openjdk.org
Thu Nov 20 09:13:26 UTC 2025
On Thu, 20 Nov 2025 09:03:42 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> LogTagSet.defaults checks some of the default `LogTagSet` properties and assumes a fresh VM. This test will fail if the other `LogTagSet` have run first.
>
> As this test is ment to test the defaults of the LogTagSet, it should be ran in an OTHER VM.
>
> We might still have problems if logging flags are given to the GTestLauncher. But all our jtreg GTest runners are `@requires vm.flagless`, so this should only occur when running very custom test invocations.
Marked as reviewed by jsjolen (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28411#pullrequestreview-3486516303
More information about the hotspot-runtime-dev
mailing list