ppkarwasz commented on code in PR #3802:
URL: https://github.com/apache/logging-log4j2/pull/3802#discussion_r2185194109


##########
log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/internal/instant/InstantPatternThreadLocalCachedFormatterTest.java:
##########


Review Comment:
   Yes, the test confirms that cache sharing between threads occurs—a necessary 
condition for the issue.
   
   The condition is not sufficient to cause the problem: a lock-based fix could 
also prevent it, but would hurt performance and likely isn't needed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to