hg: jdk9/sandbox/jdk: 6543126: Level.known can leak memory

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Sep 14 13:16:05 UTC 2016


Changeset: 606ec12670fe
Author:    dfuchs
Date:      2016-09-14 14:04 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/606ec12670fe

6543126: Level.known can leak memory
Summary: Custom level instances will now be released when their defining class loader is no longer referenced.
Reviewed-by: plevart, mchung, chegar

! src/java.base/share/classes/module-info.java
! src/java.logging/share/classes/java/util/logging/Level.java
! test/java/util/logging/Level/CustomLevel.java
+ test/java/util/logging/Level/myresource2.properties



More information about the jdk9-sandbox-changes mailing list