You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the MyBatis are you using?
IBatis 2.3.4-726
Please describe the problem. Unit tests are best!
report two multi thread issue
1. remapResult is thread unsafe
https://issues.apache.org/jira/browse/IBATIS-770
attach a unittest(RemapResult_thread-unsafe_unittest.patch) and fix file(RemapResult_threadunsafe_and_performace_fix.patch)
untest is the same as IBATIS-770
2. Lock occurs when remapResult is true and heavy traffic
many lock occurred from AutoResultMapping.getResult()
attach a PerformanceTest and fix file(RemapResult_threadunsafe_and_performace_fix.patch)
Performance comparison(use PerformanceTest.patch)
threadCount:10, loopCount:10000
synchronized block total time : 494361ms
(trunk version)
no synchronized block total time : 193063ms
(fix version)
What is the expected output? What do you see instead?
Plz, Review the attatched patch.
Please provide any additional information below.
Original issue reported on code.google.com by emer...@gmail.com on 24 Aug 2010 at 9:35
Original issue reported on code.google.com by
emer...@gmail.com
on 24 Aug 2010 at 9:35Attachments:
The text was updated successfully, but these errors were encountered: