6539517: CR 6186200 should be extended to perm gen allocation to prevent spurious OOM's from perm gen

Reviewed-by: ysr, jmasa
This commit is contained in:
Andrey Petrusenko 2008-04-01 15:13:47 +04:00
parent 6bfbc36dcd
commit 252a10cf1a
14 changed files with 165 additions and 80 deletions

View file

@ -38,6 +38,8 @@ class PermGen : public CHeapObj {
size_t _capacity_expansion_limit; // maximum expansion allowed without a
// full gc occuring
HeapWord* mem_allocate_in_gen(size_t size, Generation* gen);
public:
enum Name {
MarkSweepCompact, MarkSweep, ConcurrentMarkSweep