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

Mark Payne resolved NIFI-13076.
-------------------------------
    Fix Version/s: 2.0.0-M3
       Resolution: Fixed

> reduce enum array allocation in OpenTelemetry bundle
> ----------------------------------------------------
>
>                 Key: NIFI-13076
>                 URL: https://issues.apache.org/jira/browse/NIFI-13076
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Sean Sullivan
>            Priority: Minor
>             Fix For: 2.0.0-M3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> module:  *nifi-opentelemetry-bundle* 
>  
> h2. Motivation
> reduce enum array allocation
> h2. Modifications
> cache enum .values() in a static variable
> h2. Additional context
> [https://www.gamlor.info/wordpress/2017/08/javas-enum-values-hidden-allocations/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to