1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -36,15 +36,16 @@ 1.4 class PSMarkSweep : public MarkSweep { 1.5 private: 1.6 static elapsedTimer _accumulated_time; 1.7 - static unsigned int _total_invocations; 1.8 static jlong _time_of_last_gc; // ms 1.9 static CollectorCounters* _counters; 1.10 1.11 // Closure accessors 1.12 static OopClosure* mark_and_push_closure() { return &MarkSweep::mark_and_push_closure; } 1.13 + static KlassClosure* follow_klass_closure() { return &MarkSweep::follow_klass_closure; } 1.14 static VoidClosure* follow_stack_closure() { return (VoidClosure*)&MarkSweep::follow_stack_closure; } 1.15 static OopClosure* adjust_pointer_closure() { return (OopClosure*)&MarkSweep::adjust_pointer_closure; } 1.16 static OopClosure* adjust_root_pointer_closure() { return (OopClosure*)&MarkSweep::adjust_root_pointer_closure; } 1.17 + static KlassClosure* adjust_klass_closure() { return &MarkSweep::adjust_klass_closure; } 1.18 static BoolObjectClosure* is_alive_closure() { return (BoolObjectClosure*)&MarkSweep::is_alive; } 1.19 1.20 debug_only(public:) // Used for PSParallelCompact debugging 1.21 @@ -84,7 +85,6 @@ 1.22 1.23 // Public accessors 1.24 static elapsedTimer* accumulated_time() { return &_accumulated_time; } 1.25 - static unsigned int total_invocations() { return _total_invocations; } 1.26 static CollectorCounters* counters() { return _counters; } 1.27 1.28 // Time since last full gc (in milliseconds)