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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: