hotspot/src/share/vm/runtime/os.hpp
changeset 10739 91935236600e
parent 10565 dc90c239f4ec
child 11256 025cd1741566
--- a/hotspot/src/share/vm/runtime/os.hpp	Mon Oct 10 21:01:36 2011 -0400
+++ b/hotspot/src/share/vm/runtime/os.hpp	Thu Oct 13 09:35:42 2011 -0700
@@ -184,6 +184,9 @@
   //    Returns true if it worked, false if it didn't.
   static bool bind_to_processor(uint processor_id);
 
+  // Give a name to the current thread.
+  static void set_native_thread_name(const char *name);
+
   // Interface for stack banging (predetect possible stack overflow for
   // exception processing)  There are guard pages, and above that shadow
   // pages for stack overflow checking.