Adlai Holler
d688ce3d20
Improve recursive unfair lock: ( #1742 )
...
- Use relaxed memory since we don't need acquire/release. This'll make it faster.
- Add a couple assertions and organize the code better.
- In contested case, just lock instead of tryLock-fail-lock.
- In recursive case, do not tryLock. Just notice it's recursive and be done.
- In uncontested case, just lock instead of tryLock.
PRESUBMIT=passed
BUG=137413265
R=maicki
CC=maxwang,rexhu,wiseoldduck,yt-elements-eng+cl
REQUIRED_REVIEW=1
DELTA=50 (14 added, 13 deleted, 23 changed)
DELTA_BY_EXTENSION=h=1,mm=36
OCL=278419008
P4 change: 278454084
2019-12-10 13:51:14 -08:00
..
2019-09-15 23:33:29 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2019-03-05 09:00:38 -08:00
2019-03-09 07:55:46 -08:00
2019-08-15 10:01:36 -07:00
2019-05-30 07:18:07 -07:00
2019-08-15 05:42:26 -07:00
2019-05-23 10:07:50 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-01-17 10:16:53 -08:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-04-23 08:01:28 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2019-06-25 10:58:43 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2019-04-23 10:33:44 -07:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-08-22 17:02:50 -07:00
2018-08-28 07:39:18 -07:00
2019-10-10 11:21:29 -07:00
2019-04-23 10:33:44 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-08-22 17:02:50 -07:00
2019-10-16 13:20:39 -07:00
2019-10-16 13:20:39 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2019-11-07 10:25:04 -08:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-08-28 07:39:18 -07:00
2019-05-07 09:50:36 -07:00
2018-08-28 07:39:18 -07:00
2019-03-16 09:34:39 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2019-05-08 19:59:13 -07:00
2018-08-28 07:39:18 -07:00
2019-08-22 17:02:50 -07:00
2018-08-28 07:39:18 -07:00
2019-08-15 05:42:26 -07:00
2018-11-04 09:26:57 -08:00
2019-11-07 10:25:04 -08:00
2018-12-09 23:39:28 -08:00
2019-10-10 11:21:29 -07:00
2018-08-28 07:39:18 -07:00
2019-12-10 13:51:14 -08:00
2019-12-10 13:51:14 -08:00
2019-05-07 09:58:11 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2019-08-22 17:02:50 -07:00
2019-09-16 14:14:53 -07:00
2019-09-16 14:14:53 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2019-08-22 17:02:50 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2018-08-28 07:39:18 -07:00
2018-11-02 12:04:14 -07:00
2019-09-11 10:38:06 -07:00