Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8348426 Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file
  3. JDK-8349953

Avoid editing AOTConfiguration file in "make test JTREG=AOT_JDK=true"

XMLWordPrintable

    • b11

      When running HotSpot jtreg tests in the "AOT mode", for example:

      make test JTREG=AOT_JDK=true TEST=open/test/hotspot/jtreg/runtime/stringtable

      In the set up phase, we record several AOT configuration files by running a few separate Java programs, and then combine them together with sed, grep, sort and uniq:

      https://github.com/openjdk/jdk/blob/adc3f53d2403cd414a91e71c079b4108b2346da0/make/RunTests.gmk#L723-L744

      After JDK-8348426, the AOT configuration file will change to a binary format and can no longer be edited this way. In preparation for JDK-8348426, we should change the "JTREG_AOT_JDK=true" set up to run a single Java program that accomplishes the same effect as the current implementation.

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

              Created:
              Updated:
              Resolved: