netty5/common/src
koji lin 1e70d3092d Avoid register multiple cleaner task for same thread's FastThreadLocal index
Motivation:

Currently if user call set/remove/set/remove many times, it will create multiple cleaner task for same index. It may cause OOM due to long live thread will have more and more task in LIVE_SET.

Modification:

Add flag to avoid recreating tasks.

Result:
Only create 1 clean task. But use more space of indexedVariables.
2018-02-05 09:05:51 +01:00
..
main Avoid register multiple cleaner task for same thread's FastThreadLocal index 2018-02-05 09:05:51 +01:00
test Avoid register multiple cleaner task for same thread's FastThreadLocal index 2018-02-05 09:05:51 +01:00