-
Enhancement
-
Resolution: Unresolved
-
P4
-
16
[~kbarrett] suggested instead of encoding the SATBMarkQueue::_active flag into _index in JDK-8227002, use a special _buf == NULL value to do that.
This simplifies the generated pre-barrier code, decreases the size of the data in the GC thread local buffer and obsoletes the need for SATBMarkQueue::_active.
This seems easier to do and require much less compiler wrangling than JDK-8227002.
An empty buffer (as opposed to no buffer) could still be encoded as 0-sized non-NULL _buf value if needed.
[Updated forJDK-8258255, which moved the active flag from PtrQueue to SATBMarkQueue.]
This simplifies the generated pre-barrier code, decreases the size of the data in the GC thread local buffer and obsoletes the need for SATBMarkQueue::_active.
This seems easier to do and require much less compiler wrangling than JDK-8227002.
An empty buffer (as opposed to no buffer) could still be encoded as 0-sized non-NULL _buf value if needed.
[Updated for
- relates to
-
JDK-8258255 Move PtrQueue active flag to SATBMarkQueue
- Resolved
-
JDK-8256280 Improve locality of PtrQueue instances in G1 thread local data
- Closed
-
JDK-8227002 Encode SATBMarkQueue active flag in _index
- Open