src/share/vm/memory/blockOffsetTable.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/blockOffsetTable.cpp	Mon May 13 16:34:30 2013
--- new/src/share/vm/memory/blockOffsetTable.cpp	Mon May 13 16:34:29 2013

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2000, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 44,54 **** --- 44,55 ---- ReservedSpace rs(size); if (!rs.is_reserved()) { vm_exit_during_initialization("Could not reserve enough space for heap offset array"); } ! MemTracker::record_virtual_memory_type((address)rs.base(), mtGC); ! NMTTrackOp op(NMTTrackOp::TypeOp); + op.execute_op((address)rs.base(), 0, mtGC); if (!_vs.initialize(rs, 0)) { vm_exit_during_initialization("Could not reserve enough space for heap offset array"); } _offset_array = (u_char*)_vs.low_boundary();

src/share/vm/memory/blockOffsetTable.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File