C1 and C2 should use the same bailout mechanism

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 9, 10
    • Component/s: hotspot

      Right now, C1 code must use Compilation::bailout(), while C2 code uses ciEnv::record_failure(). Can't we just have C1 bailout delegate to env()->record_failure()? That way code that can be called from either compiler can use env()->record_failure(), and existing C1 code continues to work.

            Assignee:
            Dean Long
            Reporter:
            Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: