8213231: ThreadSnapshot::_threadObj can become stale

Reviewed-by: dcubed, dholmes, rehn
This commit is contained in:
Erik Helin 2019-01-23 13:40:09 +01:00
parent 72141ff6e6
commit cdd5a05373
5 changed files with 42 additions and 29 deletions

View file

@ -445,7 +445,7 @@ class VM_ThreadDump : public VM_Operation {
bool _with_locked_monitors;
bool _with_locked_synchronizers;
ThreadSnapshot* snapshot_thread(JavaThread* java_thread, ThreadConcurrentLocks* tcl);
void snapshot_thread(JavaThread* java_thread, ThreadConcurrentLocks* tcl);
public:
VM_ThreadDump(ThreadDumpResult* result,