RFR: Heap/matrix verification for all reachable objects
zgu at redhat.com
Wed Mar 15 13:25:04 UTC 2017
There is a NMT miscounting:
2021 os::uncommit_memory(bm.base(), bm.size());
MemTracker::record_free() is for malloc'd memory. You don't need
explicit counting here, os::uncommit_memory does that for you.
On 03/15/2017 09:07 AM, Aleksey Shipilev wrote:
> This is the verification code that works by asserting invariants on all
> _reachable_ objects. This allows to verify both heap and the matrix without
> having the complete prior mark. Which helps, for example, to assert the matrix
> validity in partial collections.
> Testing: hotspot_gc_shenandoah (fastdebug/release), selected performance workloads
More information about the shenandoah-dev