src/hotspot/share/runtime/vmOperations.cpp
changeset 57758 91a758925be7
parent 57699 4aea554692aa
child 58063 bdf136b8ae0e
child 58226 408c445d04e8
--- a/src/hotspot/share/runtime/vmOperations.cpp	Thu Aug 15 14:00:36 2019 +0800
+++ b/src/hotspot/share/runtime/vmOperations.cpp	Thu Aug 15 09:06:42 2019 +0200
@@ -51,13 +51,10 @@
 const char* VM_Operation::_names[VM_Operation::VMOp_Terminating] = \
   { VM_OPS_DO(VM_OP_NAME_INITIALIZE) };
 
-void VM_Operation::set_calling_thread(Thread* thread, ThreadPriority priority) {
+void VM_Operation::set_calling_thread(Thread* thread) {
   _calling_thread = thread;
-  assert(MinPriority <= priority && priority <= MaxPriority, "sanity check");
-  _priority = priority;
 }
 
-
 void VM_Operation::evaluate() {
   ResourceMark rm;
   LogTarget(Debug, vmoperation) lt;