src/hotspot/share/gc/g1/g1Allocator.inline.hpp
changeset 48963 7e09b699f7b6
parent 48402 945332d45710
child 49323 565336327354
--- a/src/hotspot/share/gc/g1/g1Allocator.inline.hpp	Tue Feb 13 14:10:56 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1Allocator.inline.hpp	Tue Feb 13 16:13:20 2018 +0100
@@ -47,7 +47,7 @@
 inline HeapWord* G1PLABAllocator::plab_allocate(InCSetState dest,
                                                 size_t word_sz,
                                                 AllocationContext_t context) {
-  G1PLAB* buffer = alloc_buffer(dest, context);
+  PLAB* buffer = alloc_buffer(dest, context);
   if (_survivor_alignment_bytes == 0 || !dest.is_young()) {
     return buffer->allocate(word_sz);
   } else {