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

Update the JVMTI Spec for Heap Sampling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      11
    • Resolved In Build:
      b23

      Backports

        Description

        The spec for the heap sampling system has three elements that should be fixed/updated:

        1) Instead of sampling_rate, it should be referred to as a sampling_interval; since a rate is a frequency.

        2) The spec does not define correctly how soon does it produce a callback when setting the interval to 0; this can lead to confusion.
              Fix this by putting in the spec that the setting of a rate is not an immediate effect, it may take time to start

        3) The sampling interval should be defined more generally, instead of providing information such as geometrical variable.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jcbeyler Jean Christophe Beyler
                Reporter:
                sspitsyn Serguei Spitsyn
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: