[ 
https://issues.apache.org/jira/browse/CALCITE-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hongze Zhang closed CALCITE-1085.
---------------------------------

The issue was resolved but not closed in the given fix version. Closing now.

> NoopTimer#start should not create a new NoopContext for every invocation
> ------------------------------------------------------------------------
>
>                 Key: CALCITE-1085
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1085
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: avatica-1.7.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to