fix thread-safe bug
wrap WeakHashMap with Collections.synchronizedMap, because it can be used by many worker threads.
Showing
Please
register
or
sign in
to comment
wrap WeakHashMap with Collections.synchronizedMap, because it can be used by many worker threads.