mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6794422: Perm gen expansion policy for concurrent collectors
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
This commit is contained in:
parent
603e50f355
commit
8fbdf5c7f0
5 changed files with 52 additions and 9 deletions
|
@ -33,6 +33,10 @@ class CMSPermGen: public PermGen {
|
|||
// The "generation" view.
|
||||
ConcurrentMarkSweepGeneration* _gen;
|
||||
|
||||
// Override default implementation from PermGen
|
||||
virtual HeapWord* request_expand_and_allocate(Generation* gen, size_t size,
|
||||
GCCause::Cause prev_cause);
|
||||
|
||||
public:
|
||||
CMSPermGen(ReservedSpace rs, size_t initial_byte_size,
|
||||
CardTableRS* ct, FreeBlockDictionary::DictionaryChoice);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue