--- 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;