Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.11.0
-
None
Description
Recently I found one of lock contention and performance problem in our application.
As you can see it happens because we don't have org.slf4j.ext.EventData class in classpath, but slf4j bridge tries to load it on every Logger creation.
Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean) Class java.lang.ClassLoader.loadClass(java.lang.String) Class org.apache.logging.log4j.util.LoaderUtil.loadClass(java.lang.String) EventDataConverter org.apache.logging.slf4j.Log4jLogger.createConverter() void org.apache.logging.slf4j.Log4jLogger.<init>(org.apache.logging.log4j.spi.ExtendedLogger, java.lang.String) Logger org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(java.lang.String, org.apache.logging.log4j.spi.LoggerContext) Object org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(java.lang.String, org.apache.logging.log4j.spi.LoggerContext) Object org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(java.lang.String) Logger org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(java.lang.String) Logger org.slf4j.LoggerFactory.getLogger(java.lang.String) void com.devexperts.dxcore.api.AccountGroupsCacheImpl.<init>()
Attachments
Attachments
Issue Links
- links to