ppkarwasz opened a new pull request, #2450:
URL: https://github.com/apache/logging-log4j2/pull/2450

   This PR simplifies the logic of `DefaultScopedContextProvider`, by using two 
kinds of `ScopedContext.Instance` implementations:
   
   - `MapInstance` is a simple container for an immutable map and is the only 
implementation that can be set in the `ThreadLocal`,
   - `KeyValueInstance` represents a node of a linked list of `key/value` 
pairs. It is used to record differences from a `MapInstance` and is converted 
into a `MapInstance` in the `wrap` methods.
   


-- 
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