Thank you for reporting this issue and providing the details. I have
created https://bugs.openjdk.org/browse/JDK-8353787 to track this. Any
fixes done related to this issue will be first done against the mainline
JDK and the project members that manage the update releases
(https://openjdk.org/p
Yes, I started looking into this because of a memory regression.
While upgrading our project from Java 17 to Java 21, I noticed an increase
in memory consumption. After dumping the heap and analyzing the
differences, I found that there are a few thousand instances of the class
"java.util.jar.Attrib
The caching of some attribute names in the java.util.jar.Attributes
class appears to have been introduced in
https://bugs.openjdk.org/browse/JDK-6805750 (RFR
https://mail.openjdk.org/pipermail/core-libs-dev/2018-April/052697.html).
Given the precedence, it may be OK to add "SHA-384-Digest" to
Since this is about caching values in the java.util.jar.Attributes
class, the discussion is more appropriate in the core-libs-dev mailing
list. I've added it to the "To" now and "Bcc"ed the jdk-dev mailing
list. Please subscribe to core-libs-dev
https://mail.openjdk.org/mailman/listinfo/core-li