src/hotspot/share/runtime/os.hpp
branchstuefe-new-metaspace-branch
changeset 58107 69c38b90014c
parent 58063 bdf136b8ae0e
parent 58095 adc72cd1d1f2
child 58199 595fcbebaa77
--- a/src/hotspot/share/runtime/os.hpp	Thu Sep 12 07:57:00 2019 +0200
+++ b/src/hotspot/share/runtime/os.hpp	Thu Sep 12 15:04:00 2019 +0200
@@ -466,8 +466,7 @@
   // thread id on Linux/64bit is 64bit, on Windows and Solaris, it's 32bit
   static intx current_thread_id();
   static int current_process_id();
-  // Implementation of java.lang.Thread.sleep for JavaThreads
-  static int sleep(JavaThread* thread, jlong ms);
+
   // Short standalone OS sleep routines suitable for slow path spin loop.
   // Ignores safepoints/suspension/Thread.interrupt() (so keep it short).
   // ms/ns = 0, will sleep for the least amount of time allowed by the OS.
@@ -742,6 +741,7 @@
   static void* realloc (void *memblock, size_t size, MEMFLAGS flag, const NativeCallStack& stack);
   static void* realloc (void *memblock, size_t size, MEMFLAGS flag);
 
+  // handles NULL pointers
   static void  free    (void *memblock);
   static char* strdup(const char *, MEMFLAGS flags = mtInternal);  // Like strdup
   // Like strdup, but exit VM when strdup() returns NULL