hg: hsx/hotspot-gc/hotspot: 7098282: G1: assert(interval >= 0) failed: Sanity check, referencePolicy.cpp: 76
john.cuthbertson at oracle.com
john.cuthbertson at oracle.com
Wed Oct 12 23:47:24 UTC 2011
Changeset: d1bdeef3e3e2
Author: johnc
Date: 2011-10-12 10:25 -0700
URL: http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/d1bdeef3e3e2
7098282: G1: assert(interval >= 0) failed: Sanity check, referencePolicy.cpp: 76
Summary: There is a race between one thread successfully forwarding and copying the klass mirror for the SoftReference class (including the static master clock) and another thread attempting to use the master clock while attempting to discover a soft reference object. Maintain a shadow copy of the soft reference master clock and use the shadow during reference discovery and reference processing.
Reviewed-by: tonyp, brutisso, ysr
! src/share/vm/memory/referencePolicy.cpp
! src/share/vm/memory/referencePolicy.hpp
! src/share/vm/memory/referenceProcessor.cpp
! src/share/vm/memory/referenceProcessor.hpp
More information about the hotspot-gc-dev
mailing list