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

Failure to generate or load AOT code should be handled gracefully

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • 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.
       

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

              Created:
              Updated:
              Resolved: