Issue #1744 actually fix deadlock this time
Change-Id: I9c5468d4d7d8fe19e709bc9cce42f06ca60d3eeb Former-commit-id:eefa0d8e87
[formerly3dc69632c1
] [formerly8c84bc5fbb
] [formerlyeefa0d8e87
[formerly3dc69632c1
] [formerly8c84bc5fbb
] [formerly35007e0460
[formerly8c84bc5fbb
[formerly 56d6dd7fb0d16ef5fdb545e816fedddb28273024]]]] Former-commit-id:35007e0460
Former-commit-id:49fc025594
[formerly348f5f0f41
] [formerly 713be7a0d247874d2807d3b5c3e1411449c3821e [formerly33da766f63
]] Former-commit-id: 5b126ce31b7b2161f0bb83ad5035f926557f9ab1 [formerlyeec5f87ab2
] Former-commit-id:312e2e07ae
This commit is contained in:
parent
9654c80906
commit
62e364213a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class SerializationCache {
|
|||
// and will block other threads, meanwhile deeper inside create()
|
||||
// it needs to obtain a lock on the classloader which another thread
|
||||
// might already have
|
||||
synchronized (SerializationCache.class) {
|
||||
synchronized (SerializationCache.class.getClassLoader()) {
|
||||
bm = generator.create();
|
||||
}
|
||||
generator.setBean(null);
|
||||
|
|
Loading…
Add table
Reference in a new issue