[
https://issues.apache.org/jira/browse/LOG4J2-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629392#comment-17629392
]
Matt Sicker commented on LOG4J2-3622:
-------------------------------------
I think the Recycler abstraction is a good idea. It'll allow us to add support
for scoped values whenever they're introduced. This will also let us use object
pooling versus thread locals in different environments or Java versions
depending on which is more efficient for purpose.
> Support for virtual threads
> ---------------------------
>
> Key: LOG4J2-3622
> URL: https://issues.apache.org/jira/browse/LOG4J2-3622
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Reporter: liuxichen
> Priority: Critical
>
> I noticed in ReusableMessageFactory threadlocal are used, so If a am using
> jdk19 virtual threads while logging with threadlocal disabled,
> UnsupportedOperationException would be thrown, and using log in a lot of
> virtual threads might create a lot of useless objects, could you please fix
> this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)