Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1753#discussion_r160160624
--- Diff:
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/UTF8Util.java
---
@@ -34,7 +35,7 @@
private static final boolean isTrace =
ActiveMQUtilLogger.LOGGER.isTraceEnabled();
- private static final ThreadLocal<SoftReference<StringUtilBuffer>>
currenBuffer = new ThreadLocal<>();
+ private static final FastThreadLocal<SoftReference<StringUtilBuffer>>
currentBuffer = new FastThreadLocal<>();
--- End diff --
@michaelandrepearce +1
---