hg: hsx/hotspot-gc/hotspot: 7173712: G1: Duplicated code in G1UpdateRSOrPushRefOopClosure::do_oop_nv()

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Wed Jul 18 00:52:16 UTC 2012


Changeset: 594dff5e3c2e
Author:    johnc
Date:      2012-07-17 11:52 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/594dff5e3c2e

7173712: G1: Duplicated code in G1UpdateRSOrPushRefOopClosure::do_oop_nv()
Summary: Duplicated code from G1RemSet::par_write_ref() inlined into G1UpdateRSOrPushRefOopClosure::do_oop_nv() was showing up in profiles with a fairly high amount of CPU time. Manually inline the main part of G1RemSet::par_write_ref() to eliminate the code duplication.
Reviewed-by: azeemj, brutisso

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




More information about the hotspot-gc-dev mailing list