TemLock: A Lightweight Template-based Approach for Fixing Deadlocks Caused by ReentrantLock | IEEE Conference Publication | IEEE Xplore