Skip to content

Commit

Permalink
fix profiling gc/deallocations bug swapping thread/seqnum
Browse files Browse the repository at this point in the history
  • Loading branch information
timo authored and AlexDaniel committed Jul 15, 2019
1 parent 4300d42 commit a2e8d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/HLL/Backend.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class HLL::Backend::MoarVM {
my $deallocs := $gc<deallocs>;

for $deallocs -> $entry {
@g := nqp::list_s($thread_id, $gc<sequence>);
@g := nqp::list_s($gc<sequence>, $thread_id);
for <id nursery_fresh nursery_seen gen2> -> $f {
nqp::push_s(@g, ~($entry{$f} // '0'));
}
Expand Down

0 comments on commit a2e8d63

Please sign in to comment.