< prev index next >

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

Print this page
rev 49678 : imported patch 8200426-sangheon-review
rev 49680 : imported patch 6672778-partial-queue-trimming
rev 49681 : imported patch 6672778-refactoring

*** 55,64 **** --- 55,66 ---- inline void handle_non_cset_obj_common(InCSetState const state, T* p, oop const obj); public: // This closure needs special handling for InstanceRefKlass. virtual ReferenceIterationMode reference_iteration_mode() { return DO_DISCOVERED_AND_DISCOVERY; } void set_region(HeapRegion* from) { _from = from; } + + inline void trim_queue_partially(); }; // Used during the Update RS phase to refine remaining cards in the DCQ during garbage collection. class G1ScanObjsDuringUpdateRSClosure: public G1ScanClosureBase { uint _worker_i;
*** 124,133 **** --- 126,137 ---- ~G1ParCopyHelper() { } public: void set_scanned_cld(ClassLoaderData* cld) { _scanned_cld = cld; } inline void do_cld_barrier(oop new_obj); + + inline void trim_queue_partially(); }; enum G1Barrier { G1BarrierNone, G1BarrierCLD
< prev index next >