hg: jdk7/hotspot-rt/hotspot: 4 new changesets
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Mon Dec 6 16:05:22 PST 2010
Changeset: 631f79e71e90
Author: tonyp
Date: 2010-08-24 17:24 -0400
URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/631f79e71e90
6974966: G1: unnecessary direct-to-old allocations
Summary: This change revamps the slow allocation path of G1. Improvements include the following: a) Allocations directly to old regions are now totally banned. G1 now only allows allocations out of young regions (with the only exception being humongous regions). b) The thread that allocates a new region (which is now guaranteed to be young) does not dirty all its cards. Each thread that successfully allocates out of a young region is now responsible for dirtying the cards that corresponding to the "block" that just got allocated. c) allocate_new_tlab() and mem_allocate() are now implemented differently and TLAB allocations are only done by allocate_new_tlab(). d) If a thread schedules an evacuation pause in order to satisfy an allocation request, it will perform the allocation at the end of the safepoint so that the thread that initiated the GC also gets "first pick" of any space made available by the GC. e) If a thread is unable to allocate a humongous object it will schedul
e an evacuation pause in case it reclaims enough regions so that the humongous allocation can be satisfied aftewards. f) The G1 policy is more careful to set the young list target length to be the survivor number +1. g) Lots of code tidy up, removal, refactoring to make future changes easier.
Reviewed-by: johnc, ysr
! 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/g1CollectorPolicy.cpp
! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.hpp
Changeset: fd1d227ef1b9
Author: johnc
Date: 2010-12-01 17:34 -0800
URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/fd1d227ef1b9
6983204: G1: Nightly test nsk/regression/b4958615 failing with +ExplicitGCInvokesConcurrent
Summary: Enable reference discovery during concurrent marking by setting the reference processor field of the concurrent marking closure. Keep reference objects on the discovered reference lists alive during incremental evacuation pauses until they are processed at the end of concurrent marking.
Reviewed-by: ysr, tonyp
! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/memory/referenceProcessor.cpp
! src/share/vm/runtime/thread.hpp
Changeset: d9310331a29c
Author: tonyp
Date: 2010-12-02 13:20 -0500
URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/d9310331a29c
7003860: G1: assert(_cur_alloc_region == NULL || !expect_null_cur_alloc_region) fails
Summary: Wrong assumption about expecting the current alloc region expected to be NULL in expand_and_allocate().
Reviewed-by: brutisso, ysr
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
Changeset: 42f65821fa4e
Author: coleenp
Date: 2010-12-06 15:37 -0500
URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/42f65821fa4e
Merge
More information about the serviceability-dev
mailing list