-
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 native library context stack in NativeLibraries.NativeLibraryContext.
The library context is currently impemented as FIFO stack using ArrayDeque. The change to ArrayList maintains this FIFO order, just using a different implementation for the data structure.
The motivation for this is to prune loading of ArrayDeque and simplify the class loader graph and lower hazards for the primordial setup.
The library context is currently impemented as FIFO stack using ArrayDeque. The change to ArrayList maintains this FIFO order, just using a different implementation for the data structure.
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/29432