< prev index next >

src/share/vm/memory/sharedHeap.hpp

Print this page

        

@@ -30,12 +30,10 @@
 // A "SharedHeap" is an implementation of a java heap for HotSpot.  This
 // is an abstract class: there may be many different kinds of heaps.  This
 // class defines the functions that a heap must implement, and contains
 // infrastructure common to all heaps.
 
-class FlexibleWorkGang;
-
 // Note on use of FlexibleWorkGang's for GC.
 // There are three places where task completion is determined.
 // In
 //    1) ParallelTaskTerminator::offer_termination() where _n_threads
 //    must be set to the correct value so that count of workers that

@@ -87,13 +85,10 @@
 
 class SharedHeap : public CollectedHeap {
   friend class VMStructs;
 
 protected:
-  // If we're doing parallel GC, use this gang of threads.
-  FlexibleWorkGang* _workers;
-
   // Full initialization is done in a concrete subtype's "initialize"
   // function.
   SharedHeap();
 
 public:

@@ -135,17 +130,8 @@
 
    public:
     StrongRootsScope(SharedHeap* heap, bool activate = true);
     ~StrongRootsScope();
   };
-
- private:
-
- public:
-  FlexibleWorkGang* workers() const { return _workers; }
-
-  // The functions below are helper functions that a subclass of
-  // "SharedHeap" can use in the implementation of its virtual
-  // functions.
  };
 
 #endif // SHARE_VM_MEMORY_SHAREDHEAP_HPP
< prev index next >