8139200: Eliminate G1ParClosureSuper::_worker_id

Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper.

Reviewed-by: mgerdin, tschatzl
This commit is contained in:
Kim Barrett 2015-10-15 10:10:13 -04:00
parent e8e182c0e7
commit e7d0e95b08
6 changed files with 23 additions and 45 deletions

View file

@ -98,7 +98,7 @@ class G1ParScanThreadState : public CHeapObj<mtGC> {
template <class T> void push_on_queue(T* ref);
template <class T> void update_rs(HeapRegion* from, T* p, uint tid) {
template <class T> void update_rs(HeapRegion* from, T* p) {
// If the new value of the field points to the same region or
// is the to-space, we don't need to include it in the Rset updates.
if (!from->is_in_reserved(oopDesc::load_decode_heap_oop(p)) && !from->is_survivor()) {