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
7 files changed