Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp @ 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 | b632e80fc9dc |
comparison
equal
deleted
inserted
replaced
3773:5130fa1b24f1 | 3774:c9ca3f51cf41 |
---|---|
155 bool is_maximal_no_gc() const { | 155 bool is_maximal_no_gc() const { |
156 return true; // never expands except at a GC | 156 return true; // never expands except at a GC |
157 } | 157 } |
158 | 158 |
159 // Allocation | 159 // Allocation |
160 HeapWord* allocate(size_t word_size, bool is_tlab) { | 160 HeapWord* allocate(size_t word_size) { |
161 HeapWord* result = eden_space()->cas_allocate(word_size); | 161 HeapWord* result = eden_space()->cas_allocate(word_size); |
162 return result; | 162 return result; |
163 } | 163 } |
164 | 164 |
165 HeapWord** top_addr() const { return eden_space()->top_addr(); } | 165 HeapWord** top_addr() const { return eden_space()->top_addr(); } |