Skip to content

Commit

Permalink
erts: Fix dumping of persistent term funs
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi authored and qzhuyan committed Mar 6, 2024
1 parent 6630e28 commit ca98343
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erts/emulator/beam/erl_process_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,8 +1035,7 @@ dump_module_literals(fmtfn_t to, void *to_arg, ErtsLiteralArea* lit_area)
size = 1 + header_arity(w);
switch (w & _HEADER_SUBTAG_MASK) {
case FUN_SUBTAG:
ASSERT(((ErlFunThing*)(htop))->num_free == 0);
size += 1;
size += 1 + ((ErlFunThing*)(htop))->num_free;
break;
case MAP_SUBTAG:
if (is_flatmap_header(w)) {
Expand Down

0 comments on commit ca98343

Please sign in to comment.