diff options
| author | 2023-11-14 15:09:24 +0000 | |
|---|---|---|
| committer | 2023-11-14 17:20:27 +0000 | |
| commit | f1ed593c7fc92acea1c321d0a27298eee8d1694c (patch) | |
| tree | db0de020e16759e4ae19ba6fb1ccb0f4e7e8afcc /test/MultiDexModifiedSecondary/README.txt | |
| parent | 2e9dc37bb8fb031e8dc8244c3da4a7214e567248 (diff) | |
Don't use class monitor lock when redefining
We used monitor lock on the class to potentially avoid redefinitions
on the same class happening simultaneously. Redefining a class needs
to update method verification flags and it will be non-trivial to
support simultaneous redefinition. Using monitor lock isn't ideal since
that can be obtained from the user code. This CL replaces the monitor
lock with a global lock to avoid simultaneous redefinitions. The current
implementation avoids redefinitions even on different classes but that
is okay since redefinitions don't happen frequently.
Bug: 215658725, 210434701
Test: art/test.py
Change-Id: If6e54ecf1f733181809c0130853ee05c7d6405a2
Diffstat (limited to 'test/MultiDexModifiedSecondary/README.txt')
0 files changed, 0 insertions, 0 deletions