RFR: 8229517: Support for optional asynchronous/buffered logging [v21]
Volker Simonis
simonis at openjdk.java.net
Wed May 26 19:06:25 UTC 2021
On Tue, 25 May 2021 05:23:56 GMT, Xin Liu <xliu at openjdk.org> wrote:
>> This patch provides a buffer to store asynchrounous messages and flush them to
>> underlying files periodically.
>
> Xin Liu has updated the pull request incrementally with two additional commits since the last revision:
>
> - Remove AsyncLogWriter::flush() from os::shutdown().
>
> When jvm aborts, it won't invoke AsyncLogWriter::flush() and guarantee
> not to hinder the aborting process.
>
> Run all unified logging tests in async mode.
> - Biased to the thread which is taking buffer lock.
I'm fine with the latest version of this patch.
-------------
Marked as reviewed by simonis (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3135
More information about the hotspot-dev
mailing list