-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: None
-
Component/s: core-libs
Similar to JDK-8375580, we could replace ArrayDeque with ArrayList for the Inflater cache in ZipFile.CleanableResource.
The cache used to use a java.util.Vector as a FIFO stack. The change to ArrayDeque changed this to a LIFO queue, however the order is insignificant to this cache.
The motivation for this is to prune loading of ArrayDeque and simplify the class loader graph and lower hazards for the primordial setup.
The cache used to use a java.util.Vector as a FIFO stack. The change to ArrayDeque changed this to a LIFO queue, however the order is insignificant to this cache.
The motivation for this is to prune loading of ArrayDeque and simplify the class loader graph and lower hazards for the primordial setup.
- links to
-
Review(master)
openjdk/jdk/29430