make runtime/logging/DeoptStats.java more reliable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b04
    • generic
    • generic

      currently, it's kind of fragile. It only triggers one unstable_if trap and it is not the test itself.

      <statistics type='deoptimization'>
      Deoptimization traps recorded:
      1 (100.0%) total
      unstable_if/reinterpret/if_icmpeq: 1 (100.0%)
      </statistics>

      In JDK-8287385, I manage to suppress the superficial unstable_if traps and then I can't pass this test. I would like to make sure the test itself triggers null-check deoptimization and is not subject to external environment.

            Assignee:
            Xin Liu
            Reporter:
            Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: