Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
backport of 8ec6b8de3bb3d7aeebdcb45d761b18cce3bab75e
  • Loading branch information
elifaslan1 committed Sep 30, 2025
commit adef3e3e4b47435d9eae2575b569b54b193e2b14
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/vmOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ VM_ThreadDump::VM_ThreadDump(ThreadDumpResult* result,
_result = result;
_num_threads = 0; // 0 indicates all threads
_threads = NULL;
_result = result;
_max_depth = max_depth;
_with_locked_monitors = with_locked_monitors;
_with_locked_synchronizers = with_locked_synchronizers;
Expand All @@ -244,7 +243,6 @@ VM_ThreadDump::VM_ThreadDump(ThreadDumpResult* result,
_result = result;
_num_threads = num_threads;
_threads = threads;
_result = result;
_max_depth = max_depth;
_with_locked_monitors = with_locked_monitors;
_with_locked_synchronizers = with_locked_synchronizers;
Expand Down
1 change: 1 addition & 0 deletions src/hotspot/share/services/threadService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ void ThreadStackTrace::dump_stack_at_safepoint(int maxDepth) {

if (_thread->has_last_Java_frame()) {
RegisterMap reg_map(_thread);
ResourceMark rm;
vframe* start_vf = _thread->last_java_vframe(&reg_map);
int count = 0;
for (vframe* f = start_vf; f; f = f->sender() ) {
Expand Down