< prev index next >

src/hotspot/share/services/heapDumper.cpp

Print this page
@@ -2390,11 +2390,11 @@
        Thread* current_thread = Thread::current();
        ResourceMark rm(current_thread);
        HandleMark hm(current_thread);
  
        ThreadStackTrace* stack_trace = new ThreadStackTrace(thread, false);
-       stack_trace->dump_stack_at_safepoint(-1);
+       stack_trace->dump_stack_at_safepoint(-1, true);
        _stack_traces[_num_threads++] = stack_trace;
  
        // write HPROF_FRAME records for this thread's stack trace
        int depth = stack_trace->get_stack_depth();
        int thread_frame_start = frame_serial_num;
< prev index next >