RFR: 8350214: Test gtest/AsyncLogGtest.java fails after JDK-8349755 [v2]

Johan Sjölen jsjolen at openjdk.org
Wed Feb 19 10:36:54 UTC 2025


On Wed, 19 Feb 2025 09:35:31 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Hi,
>> 
>> [8349755](https://bugs.openjdk.org/browse/JDK-8349755) introduced a bug in debug builds when running with `-Xlog:async -Xlog:all=debug`. Specifically, this will cause UL to select for `deathtest` and `deathtest2`, which should only be selected when explicitly asked for.
>> 
>> In order to fix this, I've added a small debug-only snippet which ensures that any wildcard selector does not select `deathtest` or `deathtest2`. I've also added a testcase in order to catch this regression.
>
> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   ASSERT not assert

OK, I want to get builds going again ASAP. I'm going in with a trivial fix (Removing `ShouldNotReachHere` and removing the death test) to then re-enable it in a future PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/23675#issuecomment-2668225317


More information about the hotspot-runtime-dev mailing list