hg: hsx/hotspot-gc/hotspot: 7121547: G1: High number mispredicted branches while iterating over the marking bitmap

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Sat Jan 14 05:51:05 UTC 2012


Changeset: 2e966d967c5c
Author:    johnc
Date:      2012-01-13 13:27 -0800
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/2e966d967c5c

7121547: G1: High number mispredicted branches while iterating over the marking bitmap
Summary: There is a high number of mispredicted branches associated with calling BitMap::iteratate() from within CMBitMapRO::iterate(). Implement a version of CMBitMapRO::iterate() directly using inline-able routines.
Reviewed-by: tonyp, iveresov

! 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
! src/share/vm/utilities/bitMap.inline.hpp




More information about the hotspot-gc-dev mailing list