mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
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:
parent
6bfbc36dcd
commit
252a10cf1a
14 changed files with 165 additions and 80 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue