comparison src/share/vm/gc_implementation/concurrentMarkSweep/cmsPermGen.hpp @ 1839:e41cd7fd68a6

6794422: Perm gen expansion policy for concurrent collectors Summary: Concurrent collectors should expand the perm gen without a full STW GC, but possibly by triggering a concurrent collection. Temporary band-aid for G1 where no concurrent collection is kicked off since the perm gen is not collected concurrently. Reviewed-by: johnc
author ysr
date Fri, 01 Oct 2010 16:12:54 -0700
parents c18cbe5936b8
children f95d63e2154a
comparison
equal deleted inserted replaced
1838:8f6f7587d292 1839:e41cd7fd68a6
30 friend class VMStructs; 30 friend class VMStructs;
31 31
32 protected: 32 protected:
33 // The "generation" view. 33 // The "generation" view.
34 ConcurrentMarkSweepGeneration* _gen; 34 ConcurrentMarkSweepGeneration* _gen;
35
36 // Override default implementation from PermGen
37 virtual HeapWord* request_expand_and_allocate(Generation* gen, size_t size,
38 GCCause::Cause prev_cause);
35 39
36 public: 40 public:
37 CMSPermGen(ReservedSpace rs, size_t initial_byte_size, 41 CMSPermGen(ReservedSpace rs, size_t initial_byte_size,
38 CardTableRS* ct, FreeBlockDictionary::DictionaryChoice); 42 CardTableRS* ct, FreeBlockDictionary::DictionaryChoice);
39 43