src/hotspot/share/runtime/vmOperations.cpp
changeset 57758 91a758925be7
parent 57699 4aea554692aa
child 58063 bdf136b8ae0e
child 58226 408c445d04e8
equal deleted inserted replaced
57757:902cef494e66 57758:91a758925be7
    49 #define VM_OP_NAME_INITIALIZE(name) #name,
    49 #define VM_OP_NAME_INITIALIZE(name) #name,
    50 
    50 
    51 const char* VM_Operation::_names[VM_Operation::VMOp_Terminating] = \
    51 const char* VM_Operation::_names[VM_Operation::VMOp_Terminating] = \
    52   { VM_OPS_DO(VM_OP_NAME_INITIALIZE) };
    52   { VM_OPS_DO(VM_OP_NAME_INITIALIZE) };
    53 
    53 
    54 void VM_Operation::set_calling_thread(Thread* thread, ThreadPriority priority) {
    54 void VM_Operation::set_calling_thread(Thread* thread) {
    55   _calling_thread = thread;
    55   _calling_thread = thread;
    56   assert(MinPriority <= priority && priority <= MaxPriority, "sanity check");
    56 }
    57   _priority = priority;
       
    58 }
       
    59 
       
    60 
    57 
    61 void VM_Operation::evaluate() {
    58 void VM_Operation::evaluate() {
    62   ResourceMark rm;
    59   ResourceMark rm;
    63   LogTarget(Debug, vmoperation) lt;
    60   LogTarget(Debug, vmoperation) lt;
    64   if (lt.is_enabled()) {
    61   if (lt.is_enabled()) {