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

Update the JVMTI Spec for Heap Sampling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • hotspot
    • None
    • 11
    • b23

        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.

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

                Created:
                Updated:
                Resolved: