< prev index next >

src/share/vm/memory/sharedHeap.hpp

Print this page

        

*** 30,41 **** // 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 --- 30,39 ----
*** 87,99 **** 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: --- 85,94 ----
*** 135,151 **** 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 --- 130,137 ----
< prev index next >