The G1ParScanThreadState code in g1CollectedHeap.* contains some replicated asserts in push_on_queue(), pop_from_queue(), trim_queue(), etc., that should be factored out and made consistent. In addition, the changes for 6966222 enable trim_queue() to be significantly simplified.
|