-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concurrentHashMap get and with the same object put could lead to performance problem #2297
Comments
my dataset size is 170000,and the table structure is simple as cloumn id(varchar) and name(varchar),
this is my thread dump info `
|
Hello @goldenxinxing , This seems like a nice find. |
nice! Thank you. That settles the problem |
Thank you, @goldenxinxing ! |
mybatis-3/src/main/java/org/apache/ibatis/type/TypeHandlerRegistry.java
Line 271 in e01e0b6
When my return type is String, I will go through the process of repeating get and put, jdbcHandlerMap even if it is not null and has not been reassigned, so for concurrentHashMap, its lock will cause concurrent performance degradation
The text was updated successfully, but these errors were encountered: