RFR: 8352568: Test gtest/AsyncLogGtest.java failed at droppingMessage_vm [v2]

Johan Sjölen jsjolen at openjdk.org
Wed Apr 16 07:57:08 UTC 2025


> Hi,
> 
> The test for dropping messages have started to fail on aarch64 fast debug on Linux only when run as part of a test group. This seems to be a multi-threading issue with the `BufferUpdater`. When the `BufferUpdater` is removed, the issue disappears. This PR changes the code in a few other ways as well:
> 
> 1. Fail if the asynchronous mode isn't "drop" (the test makes no sense with stalling mode)
> 2. Print the entirety of the log file produced if no missing messages are found
> 3. If the thread running the test is unattached, then async UL will emit log messages in synchronous mode. Therefore, if the thread is unattached, the test now fails with an error message.
> 
> If the test fails in the future, then these will give important diagnostic information regarding the state of the test.
> 
> This is a re-worked version of https://github.com/openjdk/jdk/pull/24411

Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:

  Use FAIL

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24508/files
  - new: https://git.openjdk.org/jdk/pull/24508/files/6071f65b..a52c5df9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24508&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24508&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24508.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24508/head:pull/24508

PR: https://git.openjdk.org/jdk/pull/24508


More information about the hotspot-runtime-dev mailing list