Remove sync lock for lazy target (#13220)
This commit is contained in:
parent
91594eccfa
commit
c5efc65a99
|
|
@ -47,11 +47,7 @@ public class LazyTargetInvocationHandler implements InvocationHandler {
|
|||
}
|
||||
|
||||
if (target == null) {
|
||||
synchronized (this) {
|
||||
if (target == null) {
|
||||
target = lazyTargetSource.getTarget();
|
||||
}
|
||||
}
|
||||
target = lazyTargetSource.getTarget();
|
||||
}
|
||||
if (method.getDeclaringClass().isInstance(target)) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue