< prev index next >

src/hotspot/share/gc/serial/defNewGeneration.cpp

Print this page

        

*** 44,54 **** #include "gc/shared/space.inline.hpp" #include "gc/shared/spaceDecorator.hpp" #include "gc/shared/strongRootsScope.hpp" #include "gc/shared/weakProcessor.hpp" #include "logging/log.hpp" ! #include "memory/iterator.hpp" #include "memory/resourceArea.hpp" #include "oops/instanceRefKlass.hpp" #include "oops/oop.inline.hpp" #include "runtime/atomic.hpp" #include "runtime/java.hpp" --- 44,54 ---- #include "gc/shared/space.inline.hpp" #include "gc/shared/spaceDecorator.hpp" #include "gc/shared/strongRootsScope.hpp" #include "gc/shared/weakProcessor.hpp" #include "logging/log.hpp" ! #include "memory/iterator.inline.hpp" #include "memory/resourceArea.hpp" #include "oops/instanceRefKlass.hpp" #include "oops/oop.inline.hpp" #include "runtime/atomic.hpp" #include "runtime/java.hpp"
*** 110,131 **** OopsInClassLoaderDataOrGenClosure(g), _g(g), _gc_barrier(gc_barrier) { _boundary = _g->reserved().end(); } - void ScanClosure::do_oop(oop* p) { ScanClosure::do_oop_work(p); } - void ScanClosure::do_oop(narrowOop* p) { ScanClosure::do_oop_work(p); } - FastScanClosure::FastScanClosure(DefNewGeneration* g, bool gc_barrier) : OopsInClassLoaderDataOrGenClosure(g), _g(g), _gc_barrier(gc_barrier) { _boundary = _g->reserved().end(); } - void FastScanClosure::do_oop(oop* p) { FastScanClosure::do_oop_work(p); } - void FastScanClosure::do_oop(narrowOop* p) { FastScanClosure::do_oop_work(p); } - void CLDScanClosure::do_cld(ClassLoaderData* cld) { NOT_PRODUCT(ResourceMark rm); log_develop_trace(gc, scavenge)("CLDScanClosure::do_cld " PTR_FORMAT ", %s, dirty: %s", p2i(cld), cld->loader_name_and_id(), --- 110,125 ----
*** 153,165 **** _g(g) { _boundary = _g->reserved().end(); } - void ScanWeakRefClosure::do_oop(oop* p) { ScanWeakRefClosure::do_oop_work(p); } - void ScanWeakRefClosure::do_oop(narrowOop* p) { ScanWeakRefClosure::do_oop_work(p); } - DefNewGeneration::DefNewGeneration(ReservedSpace rs, size_t initial_size, const char* policy) : Generation(rs, initial_size), _preserved_marks_set(false /* in_c_heap */), --- 147,156 ----
< prev index next >