Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp @ 1709:5f429ee79634
6966222: G1: simplify TaskQueue overflow handling
Reviewed-by: tonyp, ysr
author | jcoomes |
---|---|
date | Mon, 09 Aug 2010 05:41:05 -0700 |
parents | c18cbe5936b8 |
children | bb847e31b836 |
comparison
equal
deleted
inserted
replaced
1708:a03ae377b2e8 | 1709:5f429ee79634 |
---|---|
79 } | 79 } |
80 // attempt_allocation_slow will also unlock the heap lock when appropriate. | 80 // attempt_allocation_slow will also unlock the heap lock when appropriate. |
81 return attempt_allocation_slow(word_size, permit_collection_pause); | 81 return attempt_allocation_slow(word_size, permit_collection_pause); |
82 } | 82 } |
83 | 83 |
84 inline RefToScanQueue* G1CollectedHeap::task_queue(int i) { | 84 inline RefToScanQueue* G1CollectedHeap::task_queue(int i) const { |
85 return _task_queues->queue(i); | 85 return _task_queues->queue(i); |
86 } | 86 } |
87 | |
88 | 87 |
89 inline bool G1CollectedHeap::isMarkedPrev(oop obj) const { | 88 inline bool G1CollectedHeap::isMarkedPrev(oop obj) const { |
90 return _cm->prevMarkBitMap()->isMarked((HeapWord *)obj); | 89 return _cm->prevMarkBitMap()->isMarked((HeapWord *)obj); |
91 } | 90 } |
92 | 91 |