Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1085

NoopTimer#start should not create a new NoopContext for every invocation

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: avatica-1.7.0
    • Component/s: avatica
    • Labels:
      None

      Description

      Just noticed that I forgot to make NoopTimer return a singleton NoopContext from #start. This is going to increase the burden for metrics for the noop case, potentially creating a lot of garbage on the heap.

        Attachments

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment