< prev index next >

src/share/vm/gc/g1/g1Allocator.inline.hpp

Print this page

        

*** 34,44 **** } HeapWord* G1Allocator::attempt_allocation_locked(size_t word_size, AllocationContext_t context) { HeapWord* result = mutator_alloc_region(context)->attempt_allocation_locked(word_size, false /* bot_updates */); assert(result != NULL || mutator_alloc_region(context)->get() == NULL, ! err_msg("Must not have a mutator alloc region if there is no memory, but is " PTR_FORMAT, p2i(mutator_alloc_region(context)->get()))); return result; } HeapWord* G1Allocator::attempt_allocation_force(size_t word_size, AllocationContext_t context) { return mutator_alloc_region(context)->attempt_allocation_force(word_size, false /* bot_updates */); --- 34,44 ---- } HeapWord* G1Allocator::attempt_allocation_locked(size_t word_size, AllocationContext_t context) { HeapWord* result = mutator_alloc_region(context)->attempt_allocation_locked(word_size, false /* bot_updates */); assert(result != NULL || mutator_alloc_region(context)->get() == NULL, ! "Must not have a mutator alloc region if there is no memory, but is " PTR_FORMAT, p2i(mutator_alloc_region(context)->get())); return result; } HeapWord* G1Allocator::attempt_allocation_force(size_t word_size, AllocationContext_t context) { return mutator_alloc_region(context)->attempt_allocation_force(word_size, false /* bot_updates */);
< prev index next >