< prev index next >

src/hotspot/share/runtime/os.hpp

Print this page
rev 59383 : [mq]: final

*** 449,459 **** // Returns true if successful. static bool signal_thread(Thread* thread, int sig, const char* reason); static void free_thread(OSThread* osthread); ! // thread id on Linux/64bit is 64bit, on Windows and Solaris, it's 32bit static intx current_thread_id(); static int current_process_id(); // Short standalone OS sleep routines suitable for slow path spin loop. // Ignores safepoints/suspension/Thread.interrupt() (so keep it short). --- 449,459 ---- // Returns true if successful. static bool signal_thread(Thread* thread, int sig, const char* reason); static void free_thread(OSThread* osthread); ! // thread id on Linux/64bit is 64bit, on Windows it's 32bit static intx current_thread_id(); static int current_process_id(); // Short standalone OS sleep routines suitable for slow path spin loop. // Ignores safepoints/suspension/Thread.interrupt() (so keep it short).
*** 776,789 **** static int get_core_path(char* buffer, size_t bufferSize); // JVMTI & JVM monitoring and management support // The thread_cpu_time() and current_thread_cpu_time() are only // supported if is_thread_cpu_time_supported() returns true. - // They are not supported on Solaris T1. // Thread CPU Time - return the fast estimate on a platform - // On Solaris - call gethrvtime (fast) - user time only // On Linux - fast clock_gettime where available - user+sys // - otherwise: very slow /proc fs - user+sys // On Windows - GetThreadTimes - user+sys static jlong current_thread_cpu_time(); static jlong thread_cpu_time(Thread* t); --- 776,787 ----
< prev index next >