[
https://issues.apache.org/jira/browse/HDDS-16276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Huang Kuan Hao updated HDDS-16276:
----------------------------------
Summary: Avoid re-creating reusable objects in hot paths (was: Cache or
hoist expensive per-call objects on hot paths)
> Avoid re-creating reusable objects in hot paths
> -----------------------------------------------
>
> Key: HDDS-16276
> URL: https://issues.apache.org/jira/browse/HDDS-16276
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Huang Kuan Hao
> Assignee: Huang Kuan Hao
> Priority: Major
>
> Several hot paths construct an effectively-immutable or stateful helper on
> every call/loop iteration instead of caching it. Following HDDS-16210, this
> umbrella collects verified sites; each subtask is self-contained and
> behavior-preserving (ThreadLocal for non-thread-safe helpers, static final
> otherwise).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]