--- old/src/share/vm/memory/allocation.cpp 2013-05-13 16:34:27.569380000 -0400 +++ new/src/share/vm/memory/allocation.cpp 2013-05-13 16:34:26.515991000 -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 @@ -515,7 +515,8 @@ void Arena::set_size_in_bytes(size_t size) { if (_size_in_bytes != size) { _size_in_bytes = size; - MemTracker::record_arena_size((address)this, size); + NMTTrackOp op(NMTTrackOp::ArenaSizeOp); + op.execute_op((address)this, size); } }