8309408: Thread.sleep cleanup

Reviewed-by: dholmes, stefank
This commit is contained in:
Alan Bateman 2023-06-16 07:26:27 +00:00
parent 32243ef47d
commit 227656f3a9
10 changed files with 45 additions and 48 deletions

View file

@ -39,7 +39,7 @@ static JNINativeMethod methods[] = {
{"start0", "()V", (void *)&JVM_StartThread},
{"setPriority0", "(I)V", (void *)&JVM_SetThreadPriority},
{"yield0", "()V", (void *)&JVM_Yield},
{"sleep0", "(J)V", (void *)&JVM_Sleep},
{"sleepNanos0", "(J)V", (void *)&JVM_SleepNanos},
{"currentCarrierThread", "()" THD, (void *)&JVM_CurrentCarrierThread},
{"currentThread", "()" THD, (void *)&JVM_CurrentThread},
{"setCurrentThread", "(" THD ")V", (void *)&JVM_SetCurrentThread},