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

Xin Liu xliu at openjdk.java.net
Tue Dec 21 20:46:20 UTC 2021


On Tue, 21 Dec 2021 02:44:16 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Xin Liu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix typo and the building eror on MacOS.
>
> src/hotspot/share/logging/logAsyncWriter.hpp line 31:
> 
>> 29: #include "memory/resourceArea.hpp"
>> 30: #include "runtime/nonJavaThread.hpp"
>> 31: #include "runtime/semaphore.hpp"
> 
> Seems unneeded by the other changes in this file.

We  can't compile without this header file. The definition of Semaphore is needed (145: Semaphore _flush_sem;) and it was drag in from logFileOutput.hpp. 

This is a cleanup.

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

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


More information about the hotspot-runtime-dev mailing list