src/hotspot/share/gc/g1/g1ParScanThreadState.cpp
changeset 48963 7e09b699f7b6
parent 48157 7c4d43c26352
child 49164 7e958a8ebcd3
--- a/src/hotspot/share/gc/g1/g1ParScanThreadState.cpp	Tue Feb 13 14:10:56 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1ParScanThreadState.cpp	Tue Feb 13 16:13:20 2018 +0100
@@ -206,7 +206,7 @@
                                                   oop const old, size_t word_sz, uint age,
                                                   HeapWord * const obj_ptr,
                                                   const AllocationContext_t context) const {
-  G1PLAB* alloc_buf = _plab_allocator->alloc_buffer(dest_state, context);
+  PLAB* alloc_buf = _plab_allocator->alloc_buffer(dest_state, context);
   if (alloc_buf->contains(obj_ptr)) {
     _g1h->_gc_tracer_stw->report_promotion_in_new_plab_event(old->klass(), word_sz, age,
                                                              dest_state.value() == InCSetState::Old,