When implementing deadlock detection, consider tracking weak references in a static list to aid in detection across SyncManager instances.
Whether or not this gets implemented depends on impact to performance, which depends how it'll be used, synchronized (must be thread safe), and structured (must have minimal impact to both speed and memory usage).
When implementing deadlock detection, consider tracking weak references in a static list to aid in detection across SyncManager instances.
Whether or not this gets implemented depends on impact to performance, which depends how it'll be used, synchronized (must be thread safe), and structured (must have minimal impact to both speed and memory usage).