netty5/common
Robin Wang 010dbe3c73 Optimize space usage of FastThreadLocal (#7861)
Motivation:
A FastThreadLocal instance currently occupies 2 slots of InternalThreadLocalMap of every thread. Actually for a FastThreadLocalThread, it does not need to store cleaner flags of FastThreadLocal instances. Besides, using BitSet to store cleaner flags is also better for space usage.

Modification:
Use BitSet to optimize space usage of FastThreadLocal.

Result:
Avoid unnecessary slot occupancy. Cleaner flags are now stored into a BitSet.
2018-04-24 09:19:01 +02:00
..
src Optimize space usage of FastThreadLocal (#7861) 2018-04-24 09:19:01 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-04-19 11:56:07 +00:00