src/share/vm/runtime/thread.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot-npg Cdiff src/share/vm/runtime/thread.hpp
src/share/vm/runtime/thread.hpp
Print this page
*** 39,49 ****
--- 39,53 ----
#include "runtime/park.hpp"
#include "runtime/safepoint.hpp"
#include "runtime/stubRoutines.hpp"
#include "runtime/threadLocalStorage.hpp"
#include "runtime/unhandledOops.hpp"
+
+ #if INCLUDE_NMT
#include "services/memRecorder.hpp"
+ #endif // INCLUDE_NMT
+
#include "trace/tracing.hpp"
#include "utilities/exceptions.hpp"
#include "utilities/top.hpp"
#ifndef SERIALGC
#include "gc_implementation/g1/dirtyCardQueue.hpp"
*** 1036,1052 ****
--- 1040,1058 ----
void set_doing_unsafe_access(bool val) { _doing_unsafe_access = val; }
bool do_not_unlock_if_synchronized() { return _do_not_unlock_if_synchronized; }
void set_do_not_unlock_if_synchronized(bool val) { _do_not_unlock_if_synchronized = val; }
+ #if INCLUDE_NMT
// native memory tracking
inline MemRecorder* get_recorder() const { return (MemRecorder*)_recorder; }
inline void set_recorder(MemRecorder* rc) { _recorder = (volatile MemRecorder*)rc; }
private:
// per-thread memory recorder
volatile MemRecorder* _recorder;
+ #endif // INCLUDE_NMT
// Suspend/resume support for JavaThread
private:
void set_ext_suspended() { set_suspend_flag (_ext_suspended); }
void clear_ext_suspended() { clear_suspend_flag(_ext_suspended); }
src/share/vm/runtime/thread.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File