commit | 5e1a75c1d12ea47bdc0f73d378b5fa25326829f4 | [log] [tgz] |
---|---|---|
author | Charles Munger <clm@google.com> | Thu Oct 18 13:34:39 2018 -0700 |
committer | Charles Munger <clm@google.com> | Tue Oct 30 09:43:57 2018 -0700 |
tree | 3a69bbfecee2527a0584cb7bc30fbf434f20c47d | |
parent | f4fd65e393fe60f17e22ee7823f8dce4594c053d [diff] |
Implement LockSupport.park with a futex This resolves a contention issue where a thread unparking a higher priority thread would see a bunch of repeated wakeups. It also resolves an issue where LockSupport.parkUntil would not return on time if the system clock changed while the thread was parked. Bug: 28845097 Tested: ./test.py -b --host --verbose -j20 Change-Id: I75458afc481b7a5860e67f8a421109308ce5ebc6