< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.cpp
Print this page
rev 49945 : imported patch 8191471-g1-varying-tlab-allocation
rev 49949 : imported patch 8191471-tschatzl-comments-open
rev 49950 : [mq]: 8191471-pliden-comments
@@ -382,17 +382,17 @@
_verifier->verify_region_sets_optional();
return result;
}
-HeapWord* G1CollectedHeap::allocate_new_tlab(size_t min_word_size,
- size_t desired_word_size,
- size_t* actual_word_size) {
+HeapWord* G1CollectedHeap::allocate_new_tlab(size_t min_size,
+ size_t requested_size,
+ size_t* actual_size) {
assert_heap_not_locked_and_not_at_safepoint();
- assert(!is_humongous(desired_word_size), "we do not allow humongous TLABs");
+ assert(!is_humongous(requested_size), "we do not allow humongous TLABs");
- return attempt_allocation(min_word_size, desired_word_size, actual_word_size);
+ return attempt_allocation(min_size, requested_size, actual_size);
}
HeapWord*
G1CollectedHeap::mem_allocate(size_t word_size,
bool* gc_overhead_limit_was_exceeded) {
< prev index next >