Hi, Please find below a fix for:
6543126: Level.known can leak memory https://bugs.openjdk.java.net/browse/JDK-6543126 webrev: http://cr.openjdk.java.net/~dfuchs/webrev_6543126/webrev.00 This is a fix for a long standing issue: Level maintains a list of know levels which has strong references to any created levels. Because the references are strong references, they prevent the garbage collection of levels, level classes, and level class loaders. This fix changes the KnownLevel class to extend WeakReference<Level> in order to only retain a weak reference to custom level instances. best regards, -- daniel