--- old/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp 2013-05-13 16:34:14.609143000 -0400 +++ new/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp 2013-05-13 16:34:13.598143000 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -51,7 +51,9 @@ if (!backing_store.is_reserved()) { vm_exit_during_initialization("Could not reserve space for ObjectStartArray"); } - MemTracker::record_virtual_memory_type((address)backing_store.base(), mtGC); + + NMTTrackOp op(NMTTrackOp::TypeOp); + op.execute_op((address)backing_store.base(), 0, mtGC); // We do not commit any memory initially if (!_virtual_space.initialize(backing_store, 0)) { @@ -64,8 +66,7 @@ vm_exit_during_initialization("Could not get raw_base address"); } - MemTracker::record_virtual_memory_type((address)_raw_base, mtGC); - + op.execute_op((address)_raw_base, 0, mtGC); _offset_base = _raw_base - (size_t(reserved_region.start()) >> block_shift);