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

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: