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

Separate source output from class output when building microbenchmarks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 24, 25
    • infrastructure
    • None
    • b03

      When OpenJDK build builds the microbenchmarks, the JMH framework will generate considerable amount of sources. And these sources will currently be generated to class output. And as class output is on the compilation classpath when building microbenchmarks, javac may in some cases load, parse and attribute the generated source files from the previous round, wasting memory.

      The proposal herein is to put the generated sources into a separate "gensrc" directory.

            jlahoda Jan Lahoda
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: