We have:
./share/runtime/globals.hpp:
product(bool, PrintVMQWaitTime, false,
./share/runtime/vmThread.cpp:
// Stall time tracking code
if (PrintVMQWaitTime && _cur_vm_operation != NULL) {
jlong stall = NANOS_TO_MILLIS(os::javaTimeNanos() - _cur_vm_operation->timestamp());
if (stall > 0)
tty->print_cr("%s stall: " JLONG_FORMAT, _cur_vm_operation->name(), stall);
}
This serves almost no purpose as it only provides information about the single VM operation found by the outer-most level of the VMThread processing loop. Future work in the safepoint area can provide an appropriate level of logging using the UL framework. So we will deprecate and then remove PrintVMQWaitTime.
./share/runtime/globals.hpp:
product(bool, PrintVMQWaitTime, false,
./share/runtime/vmThread.cpp:
// Stall time tracking code
if (PrintVMQWaitTime && _cur_vm_operation != NULL) {
jlong stall = NANOS_TO_MILLIS(os::javaTimeNanos() - _cur_vm_operation->timestamp());
if (stall > 0)
tty->print_cr("%s stall: " JLONG_FORMAT, _cur_vm_operation->name(), stall);
}
This serves almost no purpose as it only provides information about the single VM operation found by the outer-most level of the VMThread processing loop. Future work in the safepoint area can provide an appropriate level of logging using the UL framework. So we will deprecate and then remove PrintVMQWaitTime.
- csr for
-
JDK-8238584 Deprecate PrintVMQWaitTime to prepare for its removal
- Closed
- relates to
-
JDK-8238832 Obsolete PrintVMQWaitTime
- Resolved