diff -r cc19612c6b9f -r 91935236600e hotspot/src/share/vm/runtime/os.hpp --- 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.