hg: jdk7/hotspot-gc/hotspot: 7023069: G1: Introduce symmetric locking in the slow allocation path; ...

tony.printezis at oracle.com tony.printezis at oracle.com
Wed Mar 30 10:03:38 PDT 2011


Changeset: abdfc822206f
Author:    tonyp
Date:      2011-03-30 10:26 -0400
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/abdfc822206f

7023069: G1: Introduce symmetric locking in the slow allocation path
7023151: G1: refactor the code that operates on _cur_alloc_region to be re-used for allocs by the GC threads
7018286: G1: humongous allocation attempts should take the GC locker into account
Summary: First, this change replaces the asymmetric locking scheme in the G1 slow alloc path by a summetric one. Second, it factors out the code that operates on _cur_alloc_region so that it can be re-used for allocations by the GC threads in the future.
Reviewed-by: stefank, brutisso, johnc

+ src/share/vm/gc_implementation/g1/g1AllocRegion.cpp
+ src/share/vm/gc_implementation/g1/g1AllocRegion.hpp
+ src/share/vm/gc_implementation/g1/g1AllocRegion.inline.hpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp
! src/share/vm/gc_implementation/g1/heapRegion.cpp
! src/share/vm/gc_implementation/g1/heapRegion.hpp
! src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
! src/share/vm/memory/cardTableModRefBS.hpp
! src/share/vm/memory/space.cpp



More information about the hotspot-gc-dev mailing list