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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • 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.

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

              Created:
              Updated: