bench: Fix thread sanitizer issue in AssembleBlock benchmark #14083

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1808-benchAssembleBlockThread changing 1 files +8 −4
  1. MarcoFalke commented at 3:37 PM on August 27, 2018: member

    By destructing the blocks early in the loop, we could no longer read the hash of the first transaction (the only thing we are interested in).

    So just keep all blocks fully in memory for the whole benchmark.

  2. MarcoFalke added the label Needs backport on Aug 27, 2018
  3. MarcoFalke added this to the milestone 0.17.0 on Aug 27, 2018
  4. practicalswift commented at 3:43 PM on August 27, 2018: contributor

    Concept ACK

  5. MarcoFalke force-pushed on Aug 27, 2018
  6. MarcoFalke force-pushed on Aug 27, 2018
  7. MarcoFalke force-pushed on Aug 27, 2018
  8. bench: Fix thread sanitizer issue in AssembleBlock benchmark fa7435d5d6
  9. MarcoFalke force-pushed on Aug 27, 2018
  10. MarcoFalke referenced this in commit 8fbcef44cd on Aug 27, 2018
  11. MarcoFalke removed the label Needs backport on Aug 27, 2018
  12. fanquake added the label Tests on Aug 27, 2018
  13. DrahtBot commented at 10:59 AM on August 28, 2018: member

    <!--e57a25ab6845829454e8d69fc972939a-->Note to reviewers: This pull request conflicts with the following ones:

    • #11652 (Add missing locks: validation.cpp + related by practicalswift)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  14. MarcoFalke removed this from the milestone 0.17.0 on Aug 28, 2018
  15. MarcoFalke closed this on Aug 29, 2018

  16. MarcoFalke deleted the branch on Aug 29, 2018
  17. practicalswift commented at 8:21 PM on August 29, 2018: contributor

    @MarcoFalke Why the close? Fixed elsewhere?

  18. MarcoFalke restored the branch on Aug 30, 2018
  19. MarcoFalke deleted the branch on Aug 30, 2018
  20. MarcoFalke commented at 7:22 PM on August 30, 2018: member

    @practicalswift I can't reproduce this anymore, so maybe not worth spending time on this.

  21. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me