Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351778 JIT compiler fails when running -XX:AOTMode=create
  3. JDK-8351871

Disable JIT compiler when dumping AOT cache with -XX:+AOTClassLinking

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • hotspot

      Before we have a proper fix for JDK-8351778, we should disable the JIT when -XX:+AOTClassLinking is specified when dumping a AOT cache with -XX:AOTMode=create, or when dumping a CDS archive with -Xshare:dump.

      This will avoid the situation where the JIT observes inconsistent states due to the reset operations on Java heap objects.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: