-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 2.4.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Target Version/s:
We can use a thread-local cache in TokenIdentifier#getBytes to avoid creating many DataOutputBuffer objects. This will reduce our memory usage (for example, when loading edit logs), and help prevent OOMs.