hg: hsx/hotspot-gc/hotspot: 7190666: G1: assert(_unused == 0) failed: Inconsistency in PLAB stats
john.cuthbertson at oracle.com
john.cuthbertson at oracle.com
Thu Sep 20 20:44:37 UTC 2012
Changeset: b2ef234911c9
Author: johnc
Date: 2012-09-20 09:52 -0700
URL: http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/b2ef234911c9
7190666: G1: assert(_unused == 0) failed: Inconsistency in PLAB stats
Summary: Reset the fields in ParGCAllocBuffer, that are used for accumulating values for the ResizePLAB sensors in PLABStats, to zero after flushing the values to the PLABStats fields. Flush PLABStats values only when retiring the final allocation buffers prior to disposing of a G1ParScanThreadState object, rather than when retiring every allocation buffer.
Reviewed-by: jwilhelm, jmasa, ysr
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
! src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp
! src/share/vm/gc_implementation/shared/parGCAllocBuffer.hpp
More information about the hotspot-gc-dev
mailing list