hg: jdk/submit: 8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Mon May 25 17:00:57 UTC 2020


Changeset: b37a3c009848
Author:    dfuchs
Date:      2020-05-25 17:59 +0100
URL:       https://hg.openjdk.java.net/jdk/submit/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-submit-changes mailing list