RFR: 8229517: Support for optional asynchronous/buffered logging
Volker Simonis
simonis at openjdk.java.net
Fri Mar 26 10:05:32 UTC 2021
On Fri, 26 Mar 2021 07:18:34 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
>> It's possible that a Java process have multiple file-based outputs. A global option `AsyncLogging` can set them all Otherwise, developers have to set async=true individually. It's part of CSR, right?
>
> Yes, it's part of CSR.
>
> I think it is prefer to set `async` to false by default because it should be treated same with `file` / `filecount` / `filesize` on the logger. The user should add `async=true` to the logger what the user want to set to.
Agreed. No need for an extra option. Handle it like other logging framework defaults (e.g. `DefaultFileCount` or `DefaultFileSize`)
-------------
PR: https://git.openjdk.java.net/jdk/pull/3135
More information about the hotspot-dev
mailing list