• Y
    6906727: UseCompressedOops: some card-marking fixes related to object arrays · 1f7260b7
    ysr 提交于
    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
    1f7260b7
cardTableModRefBS.cpp 26.7 KB