You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/12/17 19:00:00 UTC

[jira] [Created] (HDDS-9945) OMClientRequest.omLockDetails should be static

Tsz-wo Sze created HDDS-9945:
--------------------------------

             Summary: OMClientRequest.omLockDetails should be static
                 Key: HDDS-9945
                 URL: https://issues.apache.org/jira/browse/HDDS-9945
             Project: Apache Ozone
          Issue Type: Improvement
          Components: OM
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


In OMClientRequest, the field omLockDetails is ThreadLocal but non-static.  Then, the ThreadLocal object will be created and garbage collected for each request but not reused.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org