MCPcopy Index your code
hub / github.com/nodejs/node / output_summary

Method output_summary

deps/v8/tools/grokdump.py:2965–2983  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

2963 MAX_CONTEXT_STACK = 2048
2964
2965 def output_summary(self, f):
2966 self.output_header(f)
2967 f.write('<div class="code">')
2968 self.output_context(f, InspectionWebFormatter.CONTEXT_SHORT)
2969 self.output_disasm_pc(f)
2970 # Output stack, trying to also output the stack trace if dumped.
2971 stack_top = self.try_output_stack_trace(f)
2972
2973 exception_thread = self.reader.thread_map[self.reader.exception.thread_id]
2974 stack_bottom = min(exception_thread.stack.start + \
2975 exception_thread.stack.memory.data_size,
2976 stack_top + self.MAX_CONTEXT_STACK)
2977
2978 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack",
2979 self.heap.MachinePointerSize())
2980
2981 f.write('</div>')
2982 self.output_footer(f)
2983 return
2984
2985 def try_output_stack_trace(self, f, start=None, print_message=True):
2986 """

Callers 1

do_GETMethod · 0.80

Calls 9

output_headerMethod · 0.95
output_contextMethod · 0.95
output_disasm_pcMethod · 0.95
output_wordsMethod · 0.95
output_footerMethod · 0.95
minFunction · 0.85
writeMethod · 0.45
MachinePointerSizeMethod · 0.45

Tested by

no test coverage detected