hg: hsx/hotspot-gc/hotspot: 7114095: G1: assert(obj == oopDesc::load_decode_heap_oop(p)) failed: p should still be pointing to obj

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Fri Dec 2 23:38:05 UTC 2011


Changeset: 4406629aa157
Author:    johnc
Date:      2011-12-02 12:39 -0800
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/4406629aa157

7114095: G1: assert(obj == oopDesc::load_decode_heap_oop(p)) failed: p should still be pointing to obj
Summary: As a result of  the changes for 4965777, the G1 reference field scanning closure could be applied to the discovered field of a reference object twice. The failing assert is too strong if the result of the first application of the closure is stolen, and the referenced object, evacuated by another worker thread.
Reviewed-by: ysr, tonyp

! src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp




More information about the hotspot-gc-dev mailing list