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

Remove jdk.jfr.Recording::setFlushInterval and jdk.jfr.Recording::getFlushInterval

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 14
    • hotspot
    • jfr
    • b32

        JEP 349: JFR Event Stream introduced two methods to the jdk.jfr.Recording class, setFlushInterval and getFlushInterval. Purpose of the methods were to control the rate at which data are flushed to disk. A higher flush rate means less overhead.

        After integration, we have come to the conclusion that the overhead using a value of 1 s is not measurable and the methods don't carry weight to be part of the API. They should therefore be removed.

        To minimize changes late in the release, the implementation will be kept, but the access will be changed from public to package private

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: