Skip to content
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

Excessive locking in TypeCachingBytecodeGenerator#BOOTSTRAP_LOCK #3095

Merged
merged 1 commit into from Aug 22, 2023

Commits on Aug 19, 2023

  1. Excessive locking in TypeCachingBytecodeGenerator#BOOTSTRAP_LOCK

    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 mockito#3035
    AndreasTu committed Aug 19, 2023
    Copy the full SHA
    6d49851 View commit details
    Browse the repository at this point in the history