Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901315

Unnecessary re-compilations of test libraries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • None
    • None
    • tools
    • None

      jtreg re-compiles test libraries even when it is not necessary.

      If we have a test with the following script (just an example):

       * @library ../common
       * @build jdk.lib.*

      and we run this twice in othervm mode, then the files in jdk.lib will be compiled twice, although by the second invocation the files already exists in the work directory. The same thing happens if two tests in the same run uses the same library. This impacts run times severely.

            sla Staffan Larsen (Inactive)
            sla Staffan Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: