< prev index next >

src/hotspot/os/linux/os_linux.cpp

Print this page

        

*** 4190,4203 **** errno = 0; *priority_ptr = getpriority(PRIO_PROCESS, thread->osthread()->thread_id()); return (*priority_ptr != -1 || errno == 0 ? OS_OK : OS_ERR); } - // Hint to the underlying OS that a task switch would not be good. - // Void return because it's a hint and can fail. - void os::hint_no_preempt() {} - //////////////////////////////////////////////////////////////////////////////// // suspend/resume support // The low-level signal-based suspend/resume support is a remnant from the // old VM-suspension that used to be for java-suspension, safepoints etc, --- 4190,4199 ----
< prev index next >