Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 1883:35e4e086d5f5
6990359: G1: don't push a stolen entry on the taskqueue, deal with it directly
Summary: When an entry is stolen, don't push it on the task queue but process it directly.
Reviewed-by: iveresov, ysr, jcoomes
author | tonyp |
---|---|
date | Thu, 14 Oct 2010 10:38:14 -0400 |
parents | b14ec34b1e07 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1862:b14ec34b1e07 | 1883:35e4e086d5f5 |
---|---|
1770 add_to_alloc_buffer_waste(waste); | 1770 add_to_alloc_buffer_waste(waste); |
1771 _alloc_buffers[ap]->retire(true, false); | 1771 _alloc_buffers[ap]->retire(true, false); |
1772 } | 1772 } |
1773 } | 1773 } |
1774 | 1774 |
1775 private: | |
1776 template <class T> void deal_with_reference(T* ref_to_scan) { | 1775 template <class T> void deal_with_reference(T* ref_to_scan) { |
1777 if (has_partial_array_mask(ref_to_scan)) { | 1776 if (has_partial_array_mask(ref_to_scan)) { |
1778 _partial_scan_cl->do_oop_nv(ref_to_scan); | 1777 _partial_scan_cl->do_oop_nv(ref_to_scan); |
1779 } else { | 1778 } else { |
1780 // Note: we can use "raw" versions of "region_containing" because | 1779 // Note: we can use "raw" versions of "region_containing" because |