-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce contention in CriticalPathComputer.
For maxCriticalPath, use an AtomicReference, no locking required at all. For the slowestPathComponents, track the duration of the fastest component in an AtomicLong to create a lock-free fast path. RELNOTES: None. PiperOrigin-RevId: 218337735
- Loading branch information
Googler
authored and
Copybara-Service
committed
Oct 23, 2018
1 parent
48dacd5
commit ab9aa78
Showing
1 changed file
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters