Mercurial > hg > graal-compiler
comparison src/share/vm/memory/permGen.hpp @ 139:c0492d52d55b
6539517: CR 6186200 should be extended to perm gen allocation to prevent spurious OOM's from perm gen
Reviewed-by: ysr, jmasa
author | apetrusenko |
---|---|
date | Tue, 01 Apr 2008 15:13:47 +0400 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
95:d05ebaf00ed0 | 139:c0492d52d55b |
---|---|
36 friend class VMStructs; | 36 friend class VMStructs; |
37 protected: | 37 protected: |
38 size_t _capacity_expansion_limit; // maximum expansion allowed without a | 38 size_t _capacity_expansion_limit; // maximum expansion allowed without a |
39 // full gc occuring | 39 // full gc occuring |
40 | 40 |
41 HeapWord* mem_allocate_in_gen(size_t size, Generation* gen); | |
42 | |
41 public: | 43 public: |
42 enum Name { | 44 enum Name { |
43 MarkSweepCompact, MarkSweep, ConcurrentMarkSweep | 45 MarkSweepCompact, MarkSweep, ConcurrentMarkSweep |
44 }; | 46 }; |
45 | 47 |