Commit 5e1a75c1 authored by Charles Munger's avatar Charles Munger
Browse files

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
parent f4fd65e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment