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

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

      "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].

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

              Created:
              Updated: