mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8367576: JvmtiThreadState::_debuggable is unused
Reviewed-by: amenkov, ayang, shade
This commit is contained in:
parent
9ca7b24421
commit
c16462b3b4
@ -59,7 +59,6 @@ JvmtiThreadState::JvmtiThreadState(JavaThread* thread, oop thread_oop)
|
||||
_thread = thread;
|
||||
_thread_saved = nullptr;
|
||||
_exception_state = ES_CLEARED;
|
||||
_debuggable = true;
|
||||
_hide_single_stepping = false;
|
||||
_pending_interp_only_mode = false;
|
||||
_hide_level = 0;
|
||||
|
||||
@ -444,15 +444,6 @@ class JvmtiThreadState : public CHeapObj<mtInternal> {
|
||||
return klass;
|
||||
}
|
||||
|
||||
// Todo: get rid of this!
|
||||
private:
|
||||
bool _debuggable;
|
||||
public:
|
||||
// Should the thread be enumerated by jvmtiInternal::GetAllThreads?
|
||||
bool is_debuggable() { return _debuggable; }
|
||||
// If a thread cannot be suspended (has no valid last_java_frame) then it gets marked !debuggable
|
||||
void set_debuggable(bool debuggable) { _debuggable = debuggable; }
|
||||
|
||||
public:
|
||||
|
||||
// Thread local event collector setter and getter methods.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user