hg: jdk8u/hs-dev/hotspot: 8054808: Bitmap verification sometimes fails after Full GC aborts concurrent mark.

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Wed Sep 3 12:41:49 UTC 2014


Changeset: edb5f3b38aab
Author:    tschatzl
Date:      2014-08-28 17:05 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/edb5f3b38aab

8054808: Bitmap verification sometimes fails after Full GC aborts concurrent mark.
Summary: The verification code that checked whether no bitmap mark had been found re-read HeapRegion::end() after the check on the bitmap. Concurrent humongous object allocation could have changed HeapRegion::end() in the meantime. Fix this by using the actual end of the region instead of HeapRegion::end() for comparison.
Reviewed-by: brutisso, jmasa

! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/heapRegion.hpp



More information about the jdk8u-hs-changes mailing list