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

Blackhole.consume(Object) retains consumed objects

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: