AOT cache should include classes verified using "fail over" verification

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot

      If a class's version V is in this range:

      STACKMAP_ATTRIBUTE_MAJOR_VERSION <= V < NOFAILOVER_MAJOR_VERSION

      It can fail the new verifier but can succeed with the old verifier. This is called "fail over verification".

      Currently these classes are excluded from the AOT cache:

      https://github.com/openjdk/jdk/blob/c5cbcac828e1c7aa845cf16e68f6306ae49e050c/src/hotspot/share/classfile/verifier.cpp#L228-L243

      After JDK-8317269, we are able be able to store classes verified by the old verifier. Therefore, we should modify the above code to support classes verified with "fail over" verification.

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

              Created:
              Updated: