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

Deprecate PrintVMQWaitTime to prepare for its removal

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: