[jdk17] RFR: 8267952: async logging supports to dynamically change tags and decorators
Xin Liu
xliu at openjdk.java.net
Thu Jun 24 05:31:27 UTC 2021
On Thu, 24 Jun 2021 02:54:08 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> The reason I don't call enqueue_locked() here because it may be dropped due to buffer size.
>> This is a control token. if it gets dropped, flush() will get stuck forever.
>>
>> not droppable?
>
> How about:
> // Push directly in-case we are at logical max capacity, as this must not get dropped
>
> I'm curious now about the fact the buffer size seems only a logical size constraint not an actual out-of-space constraint.
currently, it's a soft limit.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/130
More information about the hotspot-runtime-dev
mailing list