Michael W Moser created NIFI-15039:
--------------------------------------
Summary: Replace usage of Enum.values() when called often
Key: NIFI-15039
URL: https://issues.apache.org/jira/browse/NIFI-15039
Project: Apache NiFi
Issue Type: Improvement
Reporter: Michael W Moser
Assignee: Michael W Moser
Each call to Enum.values() copies the Enum's values into a new array. When
Enum.values() is called often, this causes extra unnecessary garbage collection
pressure.
Find instances where Enum.values() is called a lot and provide an improvement.
Do not include cases where Enum.values() is called in exception handling or
during initialization.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)