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: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      Only under special AOT flag 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 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:
            1 Start watching this issue

              Created:
              Updated: