danny0405 commented on code in PR #9786:
URL: https://github.com/apache/hudi/pull/9786#discussion_r1337998794
##########
hudi-common/src/main/java/org/apache/hudi/common/util/ReflectionUtils.java:
##########
@@ -45,7 +45,7 @@ public class ReflectionUtils {
private static final Logger LOG =
LoggerFactory.getLogger(ReflectionUtils.class);
- private static final Map<String, Class<?>> CLAZZ_CACHE = new HashMap<>();
+ private static final Map<String, Class<?>> CLAZZ_CACHE = new
ConcurrentHashMap<>();
Review Comment:
NIce advice~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]