Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use multiple locks in TypeCachingBytecodeGenerator (#3095)
Changed locking scheme in TypeCachingBytecodeGenerator from a single global lock to cacheLocks with size 16. The used TypeCachingLock from cacheLocks depends on the hashcode of MockitoMockKey, which aggregates the types and settings to mock. Fixes #3035
- Loading branch information
Showing
2 changed files
with
191 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters