diff options
author | Bill Buzbee <buzbee@google.com> | 2010-01-29 13:44:19 -0800 |
---|---|---|
committer | Bill Buzbee <buzbee@google.com> | 2010-01-29 13:49:17 -0800 |
commit | 94d89f8016b6c305ab0df491874dcedb252ecfcc (patch) | |
tree | 588eca713af24609ab7e160ebef68ea14eb8be4d /vm/Sync.h | |
parent | 97d22dfc9a63d99dbad44a00622a9979b250b9d9 (diff) | |
download | android_dalvik-94d89f8016b6c305ab0df491874dcedb252ecfcc.tar.gz android_dalvik-94d89f8016b6c305ab0df491874dcedb252ecfcc.tar.bz2 android_dalvik-94d89f8016b6c305ab0df491874dcedb252ecfcc.zip |
Jit: Fix for [Issue 2406862] Compiler thread preventing VM from shutting down
Replace placeholder sleep with timed condition wait that will start
the jit either when the framework signals that the first screen has been
drawn or a fixed time has elapsed.
Diffstat (limited to 'vm/Sync.h')
-rw-r--r-- | vm/Sync.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -146,6 +146,11 @@ struct Object* dvmGetMonitorObject(Monitor* mon); bool dvmHoldsLock(struct Thread* thread, struct Object* obj); /* + * Converts the given relative time into an absolute time + */ +void dvmAbsoluteTime(s8 msec, s4 nsec, struct timespec *ts); + +/* * Debug. */ void dvmDumpMonitorInfo(const char* msg); |