-
Enhancement
-
Resolution: Fixed
-
P4
-
24
-
b03
ClassLoader.getResourceAsByteArray() was added for getting a versioned entry from a multi-release jar in JDK-8343427.
During CDS dump time when a ClassPathEntry is being created and a jar manifest is being processed, we can check if a jar file is a multi-release jar and store the info in the ClassPathEntry.
During runtime, only call ClassLoader.getResourceAsByteArray() if the jar file is a multi-release jar. This should reduce the number of java calls.
During CDS dump time when a ClassPathEntry is being created and a jar manifest is being processed, we can check if a jar file is a multi-release jar and store the info in the ClassPathEntry.
During runtime, only call ClassLoader.getResourceAsByteArray() if the jar file is a multi-release jar. This should reduce the number of java calls.
- links to
-
Commit(master) openjdk/jdk/f647d4d9
-
Review(master) openjdk/jdk/22696