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.
- relates to
-
JDK-8325095 C2: bailout message broken: ResourceArea allocated string used after free
-
- Resolved
-