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

C1 and C2 should use the same bailout mechanism

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9, 10
    • 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.

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

              Created:
              Updated: