Merge "Issue #1744 actually fix deadlock this time" into omaha_13.3.1
Former-commit-id:1754861897
[formerly 7eafcb1e677fafadc039a5106f296dbee1245136] Former-commit-id:c50e1cbe1c
This commit is contained in:
commit
6fd7af5362
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