Skip to content

Commit

Permalink
Pass allocator to Node#at call in the sampler.
Browse files Browse the repository at this point in the history
  • Loading branch information
axel22 committed Feb 6, 2023
1 parent f7a264c commit 5eafd84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private void sampleThreadStack() {
long[] result = data.data;
LockFreePrefixTree.Node node = prefixTree.root();
for (int i = data.num - 1; i >= 0; i--) {
node = node.at(result[i]);
node = node.at(prefixTree().allocator(), result[i]);
}
incStackTraceCounter(node);
}
Expand Down

0 comments on commit 5eafd84

Please sign in to comment.