hg: jdk/sandbox: 8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Mon May 25 17:15:29 UTC 2020
Changeset: b37a3c009848
Author: dfuchs
Date: 2020-05-25 17:59 +0100
URL: https://hg.openjdk.java.net/jdk/sandbox/rev/b37a3c009848
8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles
Summary: changed the Logger catalog cache to use WeakReference<ResourceBundle>
Reviewed-by: lancea, mchung, naoto
! src/java.logging/share/classes/java/util/logging/Logger.java
+ test/jdk/java/util/logging/Logger/bundleLeak/BundleTest.java
+ test/jdk/java/util/logging/Logger/bundleLeak/LoggingApp.java
+ test/jdk/java/util/logging/Logger/bundleLeak/MyBundle.java
+ test/jdk/java/util/logging/Logger/bundleLeak/logging.properties
More information about the jdk-sandbox-changes
mailing list