8211980: Remove ThreadHeapSampler enable/disable/enabled methods

Remove methods from ThreadHeapSampler

Reviewed-by: dholmes, phh
This commit is contained in:
Jean Christophe Beyler 2018-10-15 14:16:35 -07:00
parent 6352b5f64d
commit d7c7ce19f1
6 changed files with 33 additions and 62 deletions

View file

@ -133,8 +133,6 @@ Monitor* Service_lock = NULL;
Monitor* PeriodicTask_lock = NULL;
Monitor* RedefineClasses_lock = NULL;
Mutex* ThreadHeapSampler_lock = NULL;
#if INCLUDE_JFR
Mutex* JfrStacktrace_lock = NULL;
Monitor* JfrMsg_lock = NULL;
@ -301,8 +299,6 @@ void mutex_init() {
def(PeriodicTask_lock , PaddedMonitor, nonleaf+5, true, Monitor::_safepoint_check_sometimes);
def(RedefineClasses_lock , PaddedMonitor, nonleaf+5, true, Monitor::_safepoint_check_always);
def(ThreadHeapSampler_lock , PaddedMutex, nonleaf, false, Monitor::_safepoint_check_never);
if (WhiteBoxAPI) {
def(Compilation_lock , PaddedMonitor, leaf, false, Monitor::_safepoint_check_never);
}