Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp @ 3774:c9ca3f51cf41
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
Summary: Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
author | tonyp |
---|---|
date | Thu, 16 Jun 2011 15:51:57 -0400 |
parents | eda9eb483d29 |
children |
comparison
equal
deleted
inserted
replaced
3773:5130fa1b24f1 | 3774:c9ca3f51cf41 |
---|---|
44 PermGenPadding); | 44 PermGenPadding); |
45 } | 45 } |
46 | 46 |
47 HeapWord* PSPermGen::allocate_permanent(size_t size) { | 47 HeapWord* PSPermGen::allocate_permanent(size_t size) { |
48 assert_locked_or_safepoint(Heap_lock); | 48 assert_locked_or_safepoint(Heap_lock); |
49 HeapWord* obj = allocate_noexpand(size, false); | 49 HeapWord* obj = allocate_noexpand(size); |
50 | 50 |
51 if (obj == NULL) { | 51 if (obj == NULL) { |
52 obj = expand_and_allocate(size, false); | 52 obj = expand_and_allocate(size); |
53 } | 53 } |
54 | 54 |
55 return obj; | 55 return obj; |
56 } | 56 } |
57 | 57 |