/art/test/002-sleep/src/ |
D | Main.java | 3 int millis = 1000; in main() local 6 millis = Integer.parseInt(args[1]); in main() 9 System.out.println("Sleeping " + millis + " msec..."); in main() 12 Thread.sleep(millis); in main() 14 long offBy = Math.abs(elapsed - millis); in main()
|
/art/test/1907-suspend-list-self-twice/src/art/ |
D | Test1907.java | 24 public static void waitFor(long millis) { in waitFor() argument 26 lock.wait(millis); in waitFor()
|
/art/test/1906-suspend-list-me-first/src/art/ |
D | Test1906.java | 25 public static void waitFor(long millis) { in waitFor() argument 27 lock.wait(millis); in waitFor()
|
/art/test/1903-suspend-self/src/art/ |
D | Test1903.java | 43 public static void waitFor(long millis) { in waitFor() argument 45 lock.wait(millis); in waitFor()
|
/art/test/1904-double-suspend/src/art/ |
D | Test1904.java | 36 public static void waitFor(long millis) { in waitFor() argument 38 lock.wait(millis); in waitFor()
|
/art/test/1902-suspend/src/art/ |
D | Test1902.java | 36 public static void waitFor(long millis) { in waitFor() argument 38 lock.wait(millis); in waitFor()
|
/art/runtime/ |
D | monitor_test.cc | 62 CreateTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in CreateTask() argument 63 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in CreateTask() 136 UseTask(MonitorTest* monitor_test, uint64_t initial_sleep, int64_t millis, bool expected) : in UseTask() argument 137 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis), in UseTask() 175 InterruptTask(MonitorTest* monitor_test, uint64_t initial_sleep, uint64_t millis) : in InterruptTask() argument 176 monitor_test_(monitor_test), initial_sleep_(initial_sleep), millis_(millis) {} in InterruptTask()
|
D | runtime_callbacks_test.cc | 470 void ObjectWaitStart(Handle<mirror::Object> obj, int64_t millis ATTRIBUTE_UNUSED) override in ObjectWaitStart()
|
/art/test/923-monitors/ |
D | monitors.cc | 69 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jlong l, jlong millis) { in Java_art_Test923_rawMonitorWait() argument 70 jvmtiError result = jvmti_env->RawMonitorWait(LongToMonitor(l), millis); in Java_art_Test923_rawMonitorWait()
|
/art/test/1931-monitor-events/src/art/ |
D | Test1931.java | 183 final long millis = 60l * 60l * 1000l; in testTimedWait() local 184 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWait() 200 final long millis = 10l * 1000l; in testTimedWaitTimeout() local 201 Monitors.LockController controller1 = new Monitors.LockController(lk, millis); in testTimedWaitTimeout()
|
/art/test/923-monitors/src/art/ |
D | Test923.java | 229 private static void rawWait(long id, long millis) { in rawWait() argument 232 rawMonitorWait(id, millis); in rawWait() 295 private static native void rawMonitorWait(long id, long millis); in rawMonitorWait() argument
|
/art/openjdkjvmti/ |
D | ti_monitor.h | 52 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
|
D | ti_monitor.cc | 299 jlong millis) { in RawMonitorWait() argument 309 bool result = (millis > 0) in RawMonitorWait() 310 ? monitor->Wait(self, static_cast<uint64_t>(millis)) in RawMonitorWait()
|
D | OpenjdkJvmTi.cc | 969 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait() argument 971 return MonitorUtil::RawMonitorWait(env, monitor, millis); in RawMonitorWait()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 366 jobject java_lock, jlong millis) { in JVM_Sleep() argument 369 art::Monitor::Wait(art::Thread::Current(), lock.Ptr(), millis, 0, true, art::kSleeping); in JVM_Sleep()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1196 jlong millis); 2372 jlong millis) { in RawMonitorWait() 2373 return functions->RawMonitorWait(this, monitor, millis); in RawMonitorWait()
|