Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8175658 | 10 | Tom Rodriguez | P3 | Resolved | Fixed | b02 |
HotSpotJVMCIMetaAccessContext.createClass is a synchronized wrapper around a WeakHashMap with WeakReference values. During bytecode parsing this can be a heavy contention point between between multiple threads. Additionally the use of WeakReferences for the keys and values is expensive. A ClassValue<WeakReference<ResolvedJavaType>> would avoid the contention around the synchronized method and would eliminate one of the two required WeakReferences.
- backported by
-
JDK-8175658 [JVMCI] HotSpotJVMCIMetaAccessContext.fromClass is inefficient
-
- Resolved
-
- relates to
-
JDK-8218700 infinite loop in HotSpotJVMCIMetaAccessContext.fromClass after OutOfMemoryError
-
- Resolved
-
-
JDK-8201248 [AOT] AssertionError: duplicate classes for name Ljava/io/PrintStream
-
- Closed
-