markSweep.cpp revision 1315
0N/A#include "incls/_markSweep.cpp.incl"
0N/A#ifdef VALIDATE_MARK_SWEEP
941N/A if (PrintRevisitStats) {
941N/A gclog_or_tty->print_cr("#classes in system dictionary = %d", SystemDictionary::number_of_classes());
0N/A follow_stack();
941N/A if (PrintRevisitStats) {
941N/A gclog_or_tty->print_cr("#classes in system dictionary = %d", SystemDictionary::number_of_classes());
989N/ACodeBlobToOopClosure MarkSweep::follow_code_root_closure(&MarkSweep::follow_root_closure, /*do_marking=*/ true);
0N/A if (_preserved_oop_stack) {
0N/A adjust_pointer(p);
0N/A if (_preserved_oop_stack) {
0N/A#ifdef VALIDATE_MARK_SWEEP
0N/A if (!ValidateMarkSweep)
0N/A if (_pointer_tracking) {
113N/A AdjusterTracker() {}
0N/A if (ValidateMarkSweep) {
0N/A _pointer_tracking = true;
0N/A if (ValidateMarkSweep) {
0N/A _pointer_tracking = false;
0N/A if (ValidateMarkSweep) {
0N/A if (ValidateMarkSweep) {
0N/A if (ValidateMarkSweep) {
0N/A if (ValidateMarkSweep) {
0N/A if (RecordMarkSweepCompaction) {
0N/A if (RecordMarkSweepCompaction) {
0N/A if (!RecordMarkSweepCompaction) {
113N/A tty->print_cr(" Was in oop " PTR_FORMAT ", size " SIZE_FORMAT ", at offset " SIZE_FORMAT, old_oop, sz, offset);
0N/A tty->print_cr(" Now in oop " PTR_FORMAT ", actual address " PTR_FORMAT, new_oop, new_oop + offset);
113N/Avoid MarkSweep::KeepAliveClosure::do_oop(oop* p) { MarkSweep::KeepAliveClosure::do_oop_work(p); }
113N/Avoid MarkSweep::KeepAliveClosure::do_oop(narrowOop* p) { MarkSweep::KeepAliveClosure::do_oop_work(p); }
0N/A if (TraceMarkSweep)