The OopMapCache::lookup function that returns the oopMap for a specific (Method, bci) takes out a Mutex to lookup for each entry on the stack.
The OopMapCache holds bitmaps to indicate where oops are in the locals and expression stack for a method at bci for interpreter frames found on the stack during GC.
Lock free access speeds up GC root processing for thread stacks.
The OopMapCache holds bitmaps to indicate where oops are in the locals and expression stack for a method at bci for interpreter frames found on the stack during GC.
Lock free access speeds up GC root processing for thread stacks.
- csr for
-
JDK-8186091 Optimize OopMapCache lookup
- Closed
- relates to
-
JDK-8160539 Stack frame scanning acquires DerivedPointerTableGC_lock mutex
- Resolved
-
JDK-8331572 Allow using OopMapCache outside of STW GC phases
- Resolved