Skip to content

Commit

Permalink
Missing next zeroed heap and stack segments
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirsch committed Apr 16, 2024
1 parent d79e575 commit fc78298
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/rotor.c
Original file line number Diff line number Diff line change
Expand Up @@ -5681,6 +5681,8 @@ void print_heap_segment(uint64_t core) {
if (number_of_binaries > 0)
if (initial_heap_segment_nid != state_heap_segment_nid) {
if (initial_heap_nid != UNUSED) {
print_line(next_zeroed_heap_segment_nid);

print_aligned_break_comment("loading heap", log_ten(heap_initial_size * 3) + 1);

while (initial_heap_nid != UNUSED) {
Expand Down Expand Up @@ -5804,6 +5806,8 @@ void print_stack_segment(uint64_t core) {

if (number_of_binaries > 0)
if (initial_stack_segment_nid != state_stack_segment_nid) {
print_line(next_zeroed_stack_segment_nid);

if (initial_stack_nid != UNUSED) {
print_aligned_break_comment("loading stack", log_ten(stack_initial_size * 3) + 1);

Expand Down

0 comments on commit fc78298

Please sign in to comment.