--- old/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp 2013-05-13 16:34:11.404679000 -0400 +++ new/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp 2013-05-13 16:34:10.390920000 -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 @@ -46,7 +46,8 @@ 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); _offset_array = (u_char*)_vs.low_boundary(); resize(init_word_size);