< prev index next >

src/java.base/share/native/libjava/Thread.c

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1994, 2023, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1994, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

@@ -41,10 +41,11 @@
      {"yield0",           "()V",        (void *)&JVM_Yield},
      {"sleepNanos0",      "(J)V",       (void *)&JVM_SleepNanos},
      {"currentCarrierThread", "()" THD, (void *)&JVM_CurrentCarrierThread},
      {"currentThread",    "()" THD,     (void *)&JVM_CurrentThread},
      {"setCurrentThread", "(" THD ")V", (void *)&JVM_SetCurrentThread},
+     {"setCurrentLockId", "(J)V",       (void *)&JVM_SetCurrentLockId},
      {"interrupt0",       "()V",        (void *)&JVM_Interrupt},
      {"holdsLock",        "(" OBJ ")Z", (void *)&JVM_HoldsLock},
      {"getThreads",       "()[" THD,    (void *)&JVM_GetAllThreads},
      {"dumpThreads",      "([" THD ")[[" STE, (void *)&JVM_DumpThreads},
      {"getStackTrace0",   "()" OBJ,     (void *)&JVM_GetStackTrace},
< prev index next >