src/java.base/share/native/libjava/Thread.c
changeset 58872 ca70299778b9
parent 47216 71c04702a3d5
child 58901 2700c409ff10
equal deleted inserted replaced
58871:27c2d2a4b695 58872:ca70299778b9
     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},