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

Replace -Xcomp with -Xmixed for AOT assembly phase

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • hotspot
    • b12

      When debugging AOT code generation in Leyden repo I noticed that AOT JIT compilations are serial with -Xcomp even so we create a lot of compiler threads to speed up. It is because -Xcomp enforce blocking compilation and only one thread submits AOT compilations. Also -Xcomp triggers a lot more other, not AOT, compilations which we don't need during assembly phase.

      I suggest to replace -Xcomp with -Xmixed for AOT assembly phase.

      I want to push it into mainline first because in mainline we don't even do AOT compilation yet.

      This should speed up AOT testing with -Xcomp.

            kvn Vladimir Kozlov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: