< prev index next >

src/hotspot/share/gc/g1/g1SharedClosures.hpp

Print this page
rev 49680 : imported patch 6672778-partial-queue-trimming

*** 20,30 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ - #include "gc/g1/bufferingOopClosure.hpp" #include "gc/g1/g1CodeBlobClosure.hpp" #include "gc/g1/g1OopClosures.hpp" #include "memory/iterator.hpp" class G1CollectedHeap; --- 20,29 ----
*** 37,50 **** G1ParCopyClosure<G1BarrierNone, Mark> _oops; G1ParCopyClosure<G1BarrierCLD, Mark> _oops_in_cld; G1CLDScanClosure _clds; G1CodeBlobClosure _codeblobs; - BufferingOopClosure _buffered_oops; G1SharedClosures(G1CollectedHeap* g1h, G1ParScanThreadState* pss, bool process_only_dirty, bool must_claim_cld) : _oops(g1h, pss), _oops_in_cld(g1h, pss), _clds(&_oops_in_cld, process_only_dirty, must_claim_cld), ! _codeblobs(&_oops), ! _buffered_oops(&_oops) {} }; --- 36,52 ---- G1ParCopyClosure<G1BarrierNone, Mark> _oops; G1ParCopyClosure<G1BarrierCLD, Mark> _oops_in_cld; G1CLDScanClosure _clds; G1CodeBlobClosure _codeblobs; G1SharedClosures(G1CollectedHeap* g1h, G1ParScanThreadState* pss, bool process_only_dirty, bool must_claim_cld) : _oops(g1h, pss), _oops_in_cld(g1h, pss), _clds(&_oops_in_cld, process_only_dirty, must_claim_cld), ! _codeblobs(&_oops) {} ! ! double trim_time_sec() { ! return TicksToTimeHelper::seconds(_oops.trim_ticks_and_reset()) + ! TicksToTimeHelper::seconds(_oops_in_cld.trim_ticks_and_reset()); ! } };
< prev index next >