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

Add a flag to let us signal that diagnostic information should be emitted whenever RAM optimization bails out

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 22
    • hotspot

    Description

      "I consider the check here as a safety net which is intended to provide graceful degradation in performance if RAM optimization misbehaves for some reason. But bailing out an optimization is better than bailing out the whole compilation. I suggest to introduce new diagnostic flag (e.g., VerifyReduceAllocationMerges) and add a guarantee call here which signals whenever we encounter a problematic case. I'm fine with handling that as a separate enhancement (it makes sense to dump additional diagnostic info at the place where such bail outs are triggered )." Vladimir Ivanov comment here [https://github.com/openjdk/jdk/pull/12897#discussion_r1230152798].

      Attachments

        Issue Links

          Activity

            People

              cslucas Cesar Soares
              cslucas Cesar Soares
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: