Description
VisualVM profiler shows a top heap consumer is "TermIndex$1"
While it doesn't say what it is exactly, it looks like EMPTY_ARRAY isn't used and can be removed.
public interface TermIndex extends Comparable<TermIndex> { TermIndex[] EMPTY_ARRAY = {};
Attachments
Attachments
Issue Links
- causes
-
RATIS-2132 Revert RATIS-2099 due to its performance regression
- Resolved
-
RATIS-2129 Low replication performance because of lock contention on RaftLog
- Resolved
- is related to
-
RATIS-2101 Move TermIndex.PRIVATE_CACHE to Util.CACHE
- Resolved
- links to