-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b31
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8014162 | 8 | John Cuthbertson | P4 | Resolved | Fixed | b89 |
During heap initialization we pre-allocate instances of the HeapRegionRemSetIterator (one per GC worker thread) and during RSetscanning each worker thread fetches its iterator and re-initializes the iterator's fields with the heap region and heap region remembered set that the worker thread is currently working on.
Pre-allocating the iterators could result in some false cache sharing among worker threads. It would be better if the iterator instances were stack allocated.
Pre-allocating the iterators could result in some false cache sharing among worker threads. It would be better if the iterator instances were stack allocated.
- backported by
-
JDK-8014162 G1: Stack allocate instances of HeapRegionRemSetIterator
-
- Resolved
-