comparison src/share/vm/memory/allocation.hpp @ 11014:4b52137b07c9

Merge
author chegar
date Wed, 01 May 2013 14:11:01 +0100
parents f75faf51e8c4 cc12becb22e7
children 7ee0d5c53c78
comparison
equal deleted inserted replaced
11013:f822ecf621ce 11014:4b52137b07c9
176 const bool NMT_track_callsite = false; 176 const bool NMT_track_callsite = false;
177 177
178 #endif // INCLUDE_NMT 178 #endif // INCLUDE_NMT
179 179
180 // debug build does not inline 180 // debug build does not inline
181 #if defined(_DEBUG_) 181 #if defined(_NMT_NOINLINE_)
182 #define CURRENT_PC (NMT_track_callsite ? os::get_caller_pc(1) : 0) 182 #define CURRENT_PC (NMT_track_callsite ? os::get_caller_pc(1) : 0)
183 #define CALLER_PC (NMT_track_callsite ? os::get_caller_pc(2) : 0) 183 #define CALLER_PC (NMT_track_callsite ? os::get_caller_pc(2) : 0)
184 #define CALLER_CALLER_PC (NMT_track_callsite ? os::get_caller_pc(3) : 0) 184 #define CALLER_CALLER_PC (NMT_track_callsite ? os::get_caller_pc(3) : 0)
185 #else 185 #else
186 #define CURRENT_PC (NMT_track_callsite? os::get_caller_pc(0) : 0) 186 #define CURRENT_PC (NMT_track_callsite? os::get_caller_pc(0) : 0)