RFR: 8267517: async logging for stdout and stderr [v4]

Xin Liu xliu at openjdk.java.net
Wed Dec 22 20:03:22 UTC 2021


On Tue, 21 Dec 2021 22:29:20 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Xin Liu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Sideline BlockedLoggingTest.java
>
> src/hotspot/share/logging/logAsyncWriter.cpp line 153:
> 
>> 151:   if (req > 0) {
>> 152:     assert(req == 1, "AsyncLogWriter::flush() is NOT MT-safe!");
>> 153:     // LogFileOutput::write_block() has called fflush().
> 
> write_block or write_blocking?

delete this. 
now both LFO and LFSO do fflush() in write_blocking(), we don't need the special treatment here.

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

PR: https://git.openjdk.java.net/jdk/pull/6132


More information about the hotspot-runtime-dev mailing list