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

Johan Sjölen jsjolen at openjdk.org
Mon Apr 14 12:51:31 UTC 2025


On Sun, 13 Apr 2025 22:51:38 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > this lock isn't held by the async log writer when reading _buffer_staging for writing.
> 
> Where is the code that does this reading? The writer is supposed to hold the producer and consumer locks when writing, and the BufferUpdater is protected by the consumer lock.

Right, my bad. By writing I meant 'writing to output'/'flushing the log buffer'. The code is in AsyncLogWriter::write.

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

PR Comment: https://git.openjdk.org/jdk/pull/24508#issuecomment-2800657520


More information about the hotspot-runtime-dev mailing list