hg: jdk7/hotspot-gc/hotspot: 6906727: UseCompressedOops: some card-marking fixes related to object arrays

y.s.ramakrishna at sun.com y.s.ramakrishna at sun.com
Thu Dec 3 17:24:49 PST 2009


Changeset: 6aa7255741f3
Author:    ysr
Date:      2009-12-03 15:01 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/6aa7255741f3

6906727: UseCompressedOops: some card-marking fixes related to object arrays
Summary: Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).
Reviewed-by: kvn, coleenp, jmasa

! src/share/vm/classfile/javaClasses.cpp
! src/share/vm/includeDB_core
! src/share/vm/memory/barrierSet.cpp
! src/share/vm/memory/barrierSet.hpp
! src/share/vm/memory/barrierSet.inline.hpp
! src/share/vm/memory/cardTableModRefBS.cpp
! src/share/vm/oops/objArrayKlass.cpp
! src/share/vm/oops/objArrayOop.hpp



More information about the hotspot-gc-dev mailing list