--- old/src/share/vm/memory/heap.cpp 2013-05-13 16:34:40.864325000 -0400 +++ new/src/share/vm/memory/heap.cpp 2013-05-13 16:34:39.849268000 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -124,7 +124,8 @@ return false; } - MemTracker::record_virtual_memory_type((address)_segmap.low_boundary(), mtCode); + NMTTrackOp op(NMTTrackOp::TypeOp); + op.execute_op((address)_segmap.low_boundary(), 0, mtCode); assert(_segmap.committed_size() >= (size_t) _number_of_committed_segments, "could not commit enough space for segment map"); assert(_segmap.reserved_size() >= (size_t) _number_of_reserved_segments , "could not reserve enough space for segment map");