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

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

XMLWordPrintable

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

          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

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

              Created:
              Updated:
              Resolved: