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

Johan Sjölen jsjolen at openjdk.org
Wed Feb 19 13:33:02 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

Please see https://github.com/openjdk/jdk/pull/23695 for a  greatly simplified solution to this.

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

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


More information about the hotspot-runtime-dev mailing list