[
https://issues.apache.org/jira/browse/NIFI-13076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839738#comment-17839738
]
ASF subversion and git services commented on NIFI-13076:
--------------------------------------------------------
Commit 31e1ce8f4cec10e291adeb31116194e6f445b751 in nifi's branch
refs/heads/main from sullis
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=31e1ce8f4c ]
NIFI-13076: reduce enum array allocation (#8679)
> 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
> 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)