--- old/src/hotspot/os/solaris/os_solaris.cpp 2018-08-09 10:42:18.110115533 -0400 +++ new/src/hotspot/os/solaris/os_solaris.cpp 2018-08-09 10:42:17.862115541 -0400 @@ -742,7 +742,6 @@ OSThread* osthr = thread->osthread(); osthr->set_lwp_id(_lwp_self()); // Store lwp in case we are bound - thread->_schedctl = (void *) schedctl_init(); log_info(os, thread)("Thread is alive (tid: " UINTX_FORMAT ").", os::current_thread_id()); @@ -812,7 +811,6 @@ // Store info on the Solaris thread into the OSThread osthread->set_thread_id(thread_id); osthread->set_lwp_id(_lwp_self()); - thread->_schedctl = (void *) schedctl_init(); if (UseNUMA) { int lgrp_id = os::numa_get_group_id(); @@ -3407,13 +3405,6 @@ return OS_OK; } - -// 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() { - schedctl_start(schedctl_init()); -} - //////////////////////////////////////////////////////////////////////////////// // suspend/resume support