--- a/hotspot/src/share/vm/gc_implementation/shared/markSweep.hpp Tue Sep 28 09:51:37 2010 -0700
+++ b/hotspot/src/share/vm/gc_implementation/shared/markSweep.hpp Tue Sep 28 15:56:15 2010 -0700
@@ -104,23 +104,22 @@
friend class KeepAliveClosure;
friend class VM_MarkSweep;
friend void marksweep_init();
- friend class DataLayout;
//
// Vars
//
protected:
// Traversal stacks used during phase1
- static GrowableArray<oop>* _marking_stack;
- static GrowableArray<ObjArrayTask>* _objarray_stack;
+ static Stack<oop> _marking_stack;
+ static Stack<ObjArrayTask> _objarray_stack;
// Stack for live klasses to revisit at end of marking phase
- static GrowableArray<Klass*>* _revisit_klass_stack;
+ static Stack<Klass*> _revisit_klass_stack;
// Set (stack) of MDO's to revisit at end of marking phase
- static GrowableArray<DataLayout*>* _revisit_mdo_stack;
+ static Stack<DataLayout*> _revisit_mdo_stack;
// Space for storing/restoring mark word
- static GrowableArray<markOop>* _preserved_mark_stack;
- static GrowableArray<oop>* _preserved_oop_stack;
+ static Stack<markOop> _preserved_mark_stack;
+ static Stack<oop> _preserved_oop_stack;
static size_t _preserved_count;
static size_t _preserved_count_max;
static PreservedMark* _preserved_marks;