Intelligent Management of Inter-Thread Synchronization Dependencies for Concurrent Programs.