106 #include "runtime/thread.hpp" |
106 #include "runtime/thread.hpp" |
107 #include "services/memPtr.hpp" |
107 #include "services/memPtr.hpp" |
108 #include "services/memRecorder.hpp" |
108 #include "services/memRecorder.hpp" |
109 #include "services/memSnapshot.hpp" |
109 #include "services/memSnapshot.hpp" |
110 #include "services/memTrackWorker.hpp" |
110 #include "services/memTrackWorker.hpp" |
111 |
|
112 #ifdef SOLARIS |
|
113 #include "thread_solaris.inline.hpp" |
|
114 #endif |
|
115 |
111 |
116 extern bool NMT_track_callsite; |
112 extern bool NMT_track_callsite; |
117 |
113 |
118 #ifdef ASSERT |
114 #ifdef ASSERT |
119 #define DEBUG_CALLER_PC (NMT_track_callsite ? os::get_caller_pc(2) : 0) |
115 #define DEBUG_CALLER_PC (NMT_track_callsite ? os::get_caller_pc(2) : 0) |