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

JFR: Add event to give information about Method Sampling Crash Protection invocations

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 7u60, 8, 9
    • hotspot
    • None
    • jfr
    • Fix Understood

    Description

      We need information about how many times the method sampler bails due to invocation of the Method Sampling Crash Protection code - this will give some indication about why method samples are not being retrieved. In addition, I suggest we make method sampling protection configurable also in product builds:

      The same defaults will apply: On in Product builds and Off in non-Product builds.

      However, you will be able to change this also in product builds (if we want to have someone force a crash directly to indicate a problem point in the stackwalking code). Now, there is no way to turn off protection in product code, so any reproducers which would need to crash need to use a separate fastdebug build.

      Attachments

        Activity

          People

            mgronlun Markus Grönlund
            mgronlun Markus Grönlund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: