< prev index next >

src/share/vm/gc/shared/preservedMarks.hpp

Print this page

        

@@ -28,11 +28,13 @@
 #include "memory/allocation.hpp"
 #include "memory/padded.hpp"
 #include "oops/oop.hpp"
 #include "utilities/stack.hpp"
 
+#if INCLUDE_ALL_GCS
 class GCTaskManager;
+#endif
 class WorkGang;
 
 class PreservedMarks VALUE_OBJ_CLASS_SPEC {
 private:
   class OopAndMarkOop {

@@ -92,13 +94,15 @@
   Padded<PreservedMarks>* _stacks;
 
   // Internal version of restore() that uses a WorkGang for parallelism.
   void restore_internal(WorkGang* workers, volatile size_t* total_size_addr);
 
+  #if INCLUDE_ALL_GCS
   // Internal version of restore() that uses a GCTaskManager for parallelism.
   void restore_internal(GCTaskManager* gc_task_manager,
                         volatile size_t* total_size_addr);
+  #endif
 
 public:
   uint num() const { return _num; }
 
   // Return the i'th stack.
< prev index next >