Failure to generate or load AOT code should be handled gracefully

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • b26

      Only under special AOT flag or in debug VM failure to generate or load AOT code should cause VM exit with message or hit assert/fatal.
      By default the failed AOT code should be discarded with UL message about it by request (log_info) and VM and AOT process should continue run. Or stop AOT code processing (for exampale, when no reserved memory for AOT code left).
      Unless we hit some catastrophic failure: OOM fro example. This is similar how JIT compilers behave.
       

            Assignee:
            Vladimir Kozlov
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: