hg: hsx/hotspot-gc/hotspot: 8008079: G1: Add nextObject routine to CMBitMapRO and replace nextWord

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Tue Mar 5 21:55:47 PST 2013


Changeset: 9def4075da6d
Author:    tamao
Date:      2013-03-05 15:36 -0800
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/9def4075da6d

8008079: G1: Add nextObject routine to CMBitMapRO and replace nextWord
Summary: Update the task local finger to the start of the next object when marking aborts, in order to avoid the redundant scanning of all 0's when the marking task restarts, if otherwise updating to the next word. In addition, reuse the routine nextObject() in routine iterate().
Reviewed-by: johnc, ysr
Contributed-by: tamao <tao.mao at oracle.com>

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



More information about the hotspot-gc-dev mailing list