hg: hsx/hotspot-gc/hotspot: 3 new changesets

y.s.ramakrishna at oracle.com y.s.ramakrishna at oracle.com
Thu Sep 8 01:34:01 UTC 2011

Changeset: c2bf0120ee5d
Author:    stefank
Date:      2011-09-01 16:18 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c2bf0120ee5d

7085906: Replace the permgen allocated sentinelRef with a self-looped end
Summary: Remove the sentinelRef and let the last Reference in a discovered chain point back to itself.
Reviewed-by: ysr, jmasa

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
! src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp
! src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp
! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
! src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp
! src/share/vm/memory/genCollectedHeap.cpp
! src/share/vm/memory/referenceProcessor.cpp
! src/share/vm/memory/referenceProcessor.hpp
! src/share/vm/memory/sharedHeap.cpp

Changeset: 05550041d664
Author:    ysr
Date:      2011-09-07 15:00 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/05550041d664


! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

Changeset: eca1193ca245
Author:    ysr
Date:      2011-09-07 13:55 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/eca1193ca245

4965777: GC changes to support use of discovered field for pending references
Summary: If and when the reference handler thread is able to use the discovered field to link reference objects in its pending list, so will GC. In that case, GC will scan through this field once a reference object has been placed on the pending list, but not scan that field before that stage, as the field is used by the concurrent GC thread to link discovered objects. When ReferenceHandleR thread does not use the discovered field for the purpose of linking the elements in the pending list, as would be the case in older JDKs, the JVM will fall back to the old behaviour of using the next field for that purpose.
Reviewed-by: jcoomes, mchung, stefank

! src/share/vm/memory/referenceProcessor.cpp
! src/share/vm/memory/referenceProcessor.hpp
! src/share/vm/oops/instanceRefKlass.cpp
! src/share/vm/prims/jvm.h
! src/share/vm/runtime/java.cpp
! src/share/vm/runtime/java.hpp

More information about the hotspot-gc-dev mailing list