src/share/vm/services/memRecorder.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/services/memRecorder.cpp	Fri Jul 13 08:04:35 2012
--- new/src/share/vm/services/memRecorder.cpp	Fri Jul 13 08:04:33 2012

*** 43,57 **** --- 43,57 ---- return itr_cur; } debug_only(volatile jint MemRecorder::_instance_count = 0;) + volatile jint MemRecorder::_instance_count = 0; MemRecorder::MemRecorder() { assert(MemTracker::is_on(), "Native memory tracking is off"); debug_only(Atomic::inc(&_instance_count);) + Atomic::inc(&_instance_count); debug_only(set_generation();) if (MemTracker::track_callsite()) { _pointer_records = new (std::nothrow)FixedSizeMemPointerArray<SeqMemPointerRecordEx, DEFAULT_RECORDER_PTR_ARRAY_SIZE>();
*** 81,93 **** --- 81,91 ---- } if (_next != NULL) { delete _next; } #ifdef ASSERT Atomic::dec(&_instance_count); #endif } // Sorting order: // 1. memory block address // 2. mem pointer record tags

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