Move AOT-inited classes to initialized state in early VM bootstrap

XMLWordPrintable

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

      This RFE is for supporting JDK-8325147 AOT code compilation.

      In the AOT assembly phase, many classes are marked as "aot-initialized". Their <clinit> methods are executed in the AOT assembly phase and will not be executed in the AOT production run anymore.

      We should try to move these classes to the fully_initialized before any bytecodes are executed in the JVM bootstrap. This will allow AOT code to compile getstatic/putstatic/invokestatic/new bytecodes that use these classes without generating uncommon traps.

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

              Created:
              Updated: