Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901865

Blackhole.consume(Object) retains consumed objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • None
    • None
    • tools
    • None
    • jmh

    Description

      Regression. Before CODETOOLS-7901735, Blackhole used to clear its sinks on each iteration. Combined with the usual @State object lifecycle and exponential backoff in consume(Object) method, that meant Blackhole accepted a few objects on warmup iterations, and by the time measurement happened it never captured the objects.

      With CODETOOLS-7901735 it changed, and how Blackhole is instantiated for each iteration, capturing objects. This should be fixed back.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: