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

interval < flushInterval is always false in jdk.jfr.internal.RequestEngine#setFlushInterval

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • jfr
    • b21

    Description

          static void setFlushInterval(long millis) {
              // Don't accept shorter interval than 1 s.
              long interval = millis < 1000 ? 1000 : millis;
              flushInterval = interval;
              if (interval < flushInterval) {
                  synchronized (JVM.FILE_DELTA_CHANGE) {
                      JVM.FILE_DELTA_CHANGE.notifyAll();
                  }
              }
          }
      interval < flushInterval is always false

      Attachments

        Activity

          People

            ddong Denghui Dong
            ddong Denghui Dong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: