http://bugzilla.qos.ch/show_bug.cgi?id=150
Summary: LogbackMDCAdapter allocates new HashMap for every MDC
call
Product: logback-core
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
A new HashMap is allocated in logback's MDC implementation for every call to
MDC.put and MDC.remove.
This can lead to excessive garbage collector load in performance critical code
that makes very frequent use of MDC, such as asynchronous network and file IO
code.
For certain programs it is critical to have MDC capability in code hotspots,
where MDC is a valuable debugging tool as applied to TRACE and DEBUG
statements.
The current implementation causes a load on the garbage collector even when
logging is turned off.
--
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev