< prev index next >

src/hotspot/share/gc/shared/genOopClosures.hpp

Print this page
rev 49911 : imported patch removeAllGCs

*** 92,101 **** --- 92,102 ---- } bool is_scanning_a_cld() { return _scanned_cld != NULL; } void do_cld_barrier(); }; + #if INCLUDE_SERIALGC // Closure for scanning DefNewGeneration. // // This closure will perform barrier store calls for ALL // pointers in scanned oops.
*** 130,139 **** --- 131,142 ---- virtual void do_oop(narrowOop* p); inline void do_oop_nv(oop* p); inline void do_oop_nv(narrowOop* p); }; + #endif // INCLUDE_SERIALGC + class CLDScanClosure: public CLDClosure { OopsInClassLoaderDataOrGenClosure* _scavenge_closure; // true if the the modified oops state should be saved. bool _accumulate_modified_oops; public:
*** 159,168 **** --- 162,173 ---- inline void do_oop_nv(narrowOop* p); virtual bool do_metadata() { return do_metadata_nv(); } inline bool do_metadata_nv() { assert(!_cl->do_metadata(), "assumption broken, must change to 'return _cl->do_metadata()'"); return false; } }; + #if INCLUDE_SERIALGC + // Closure for scanning DefNewGeneration's weak references. // NOTE: very much like ScanClosure but not derived from // OopsInGenClosure -- weak references are processed all // at once, with no notion of which generation they were in. class ScanWeakRefClosure: public OopClosure {
*** 176,181 **** --- 181,188 ---- virtual void do_oop(narrowOop* p); inline void do_oop_nv(oop* p); inline void do_oop_nv(narrowOop* p); }; + #endif // INCLUDE_SERIALGC + #endif // SHARE_VM_GC_SHARED_GENOOPCLOSURES_HPP
< prev index next >