Page MenuHomePhabricator

Merge #14822: bench: Destroy wallet txs instead of leaking their memory
ClosedPublic

Authored by markblundeberg on Feb 11 2020, 05:23.

Details

Summary

PR14822 backport

fa5cef0f78 bench: Destroy wallet txs instead of leaking their memory (MarcoFalke)

Pull request description:

This should destroy the wallet txs when the benchmark ends to avoid having to hold them when the following benchmarks run.

Depends on D5251 (only for having updated valgrind suppressions, besides this it is landable anytime)

Test Plan

ninja bench-bitcoin

Run the following and observe there are no more leaks--

ninja src/bench/bitcoin-bench
valgrind --suppressions=../contrib/valgrind.supp src/bench/bitcoin-bench -evals=1 -scaling=0.0

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those Bitcoin Core PRs have been inserted into the summary for reference.

markblundeberg edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 11 2020, 10:52