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

JFR: Enable -XX:+DebugNonSafepoints when JFR starts

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • None
    • hotspot
    • None
    • jfr
    • In Review

      Fixes have recently been made to improve profiling information when using -XX:+DebugNonSafepoints and tests have been added to validate it works correctly. See JDK-8201516.

      We should consider enabling it when JFR starts, both from command line and jcmd.

      If the user has specified -XX:-DebugNonSafepoints, it will not be overridden. This provides a workaround in case issues arise. If those issues can't be fixed, it's possible to revert to an earlier strategy.

      Before committing a patch, we should measure how much additional native memory is being used.

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

              Created:
              Updated: