hg: jdk7/hotspot-gc/hotspot: 6865703: G1: Parallelize hot card cache cleanup

john.cuthbertson at sun.com john.cuthbertson at sun.com
Tue Aug 4 09:45:00 UTC 2009


Changeset: 15c5903cf9e1
Author:    johnc
Date:      2009-08-03 12:59 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/15c5903cf9e1

6865703: G1: Parallelize hot card cache cleanup
Summary: Have the GC worker threads clear the hot card cache in parallel by having each worker thread claim a chunk of the card cache and process the cards in that chunk. The size of the chunks that each thread will claim is determined at VM initialization from the size of the card cache and the number of worker threads.
Reviewed-by: jmasa, tonyp

! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp
! src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp




More information about the hotspot-gc-dev mailing list