1 /* |
1 /* |
2 * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
48 {"resume0", "()V", (void *)&JVM_ResumeThread}, |
48 {"resume0", "()V", (void *)&JVM_ResumeThread}, |
49 {"setPriority0", "(I)V", (void *)&JVM_SetThreadPriority}, |
49 {"setPriority0", "(I)V", (void *)&JVM_SetThreadPriority}, |
50 {"yield", "()V", (void *)&JVM_Yield}, |
50 {"yield", "()V", (void *)&JVM_Yield}, |
51 {"sleep", "(J)V", (void *)&JVM_Sleep}, |
51 {"sleep", "(J)V", (void *)&JVM_Sleep}, |
52 {"currentThread", "()" THD, (void *)&JVM_CurrentThread}, |
52 {"currentThread", "()" THD, (void *)&JVM_CurrentThread}, |
53 {"countStackFrames", "()I", (void *)&JVM_CountStackFrames}, |
|
54 {"interrupt0", "()V", (void *)&JVM_Interrupt}, |
53 {"interrupt0", "()V", (void *)&JVM_Interrupt}, |
55 {"isInterrupted", "(Z)Z", (void *)&JVM_IsInterrupted}, |
54 {"isInterrupted", "(Z)Z", (void *)&JVM_IsInterrupted}, |
56 {"holdsLock", "(" OBJ ")Z", (void *)&JVM_HoldsLock}, |
55 {"holdsLock", "(" OBJ ")Z", (void *)&JVM_HoldsLock}, |
57 {"getThreads", "()[" THD, (void *)&JVM_GetAllThreads}, |
56 {"getThreads", "()[" THD, (void *)&JVM_GetAllThreads}, |
58 {"dumpThreads", "([" THD ")[[" STE, (void *)&JVM_DumpThreads}, |
57 {"dumpThreads", "([" THD ")[[" STE, (void *)&JVM_DumpThreads}, |