< prev index next >
src/share/vm/gc/shared/genCollectedHeap.hpp
Print this page
*** 378,390 ****
// excess storage retention.)
// The "so" argument determines which of the roots
// the closure is applied to:
// "SO_None" does none;
enum ScanningOption {
! SO_None = 0x0,
! SO_AllCodeCache = 0x8,
! SO_ScavengeCodeCache = 0x10
};
private:
void process_roots(StrongRootsScope* scope,
ScanningOption so,
--- 378,390 ----
// excess storage retention.)
// The "so" argument determines which of the roots
// the closure is applied to:
// "SO_None" does none;
enum ScanningOption {
! SO_None = 0x00,
! SO_AllCodeCache = 0x08,
! SO_ScavengeCodeCache = 0x10
};
private:
void process_roots(StrongRootsScope* scope,
ScanningOption so,
*** 393,412 ****
CLDClosure* strong_cld_closure,
CLDClosure* weak_cld_closure,
CodeBlobClosure* code_roots);
public:
! static const bool StrongAndWeakRoots = false;
! static const bool StrongRootsOnly = true;
! void gen_process_roots(StrongRootsScope* scope,
! GenerationType type,
bool young_gen_as_roots,
ScanningOption so,
bool only_strong_roots,
OopsInGenClosure* not_older_gens,
- OopsInGenClosure* older_gens,
CLDClosure* cld_closure);
// Apply "root_closure" to all the weak roots of the system.
// These include JNI weak roots, string table,
// and referents of reachable weak refs.
--- 393,412 ----
CLDClosure* strong_cld_closure,
CLDClosure* weak_cld_closure,
CodeBlobClosure* code_roots);
public:
! void young_process_roots(StrongRootsScope* scope,
! OopsInGenClosure* not_older_gens,
! OopsInGenClosure* older_gens,
! CLDClosure* cld_closure);
! void old_process_roots(StrongRootsScope* scope,
bool young_gen_as_roots,
ScanningOption so,
bool only_strong_roots,
OopsInGenClosure* not_older_gens,
CLDClosure* cld_closure);
// Apply "root_closure" to all the weak roots of the system.
// These include JNI weak roots, string table,
// and referents of reachable weak refs.
< prev index next >