hg: jdk7/hotspot-gc/hotspot: 6941395: G1: Use only lock-free versions of region stack push() and pop()

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Tue Sep 28 19:40:50 UTC 2010


Changeset: 4805b9f4779e
Author:    johnc
Date:      2010-09-28 09:51 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/4805b9f4779e

6941395: G1: Use only lock-free versions of region stack push() and pop()
Summary: Re-enable use of the lock-free versions of region stack push() and pop() by recording aborted regions in a thread-local structure, which are then processed when scanning of the region stack restarts. The previous locking versions of these routines are retained for diagnostic purposes.
Reviewed-by: tonyp, ysr

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




More information about the hotspot-gc-dev mailing list