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

*** 1,7 **** --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 513,523 **** --- 513,524 ---- // This is high traffic method, but many calls actually don't // change the size 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); } } // Total of all Chunks in arena size_t Arena::used() const {

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