Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236844

Deprecate PrintVMQWaitTime to prepare for its removal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • b10

      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.

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: