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

JDK-8348586 breaks microbenchmark tests

XMLWordPrintable

      In my configuration, the change https://bugs.openjdk.org/browse/JDK-8348586 , when running this command:

          make test TEST="micro:java.lang.reflect" MICRO="FORK=1;WARMUP_ITER=2"


      produces:

          Building target 'test' in configuration 'build/jdk-vp'

          ERROR: Build failed for target 'test' in configuration '/build/jdk-vp' (exit code 1)

          No indication of failed target found.
          HELP: Try searching the build log for '] Error'.
          HELP: Run 'make doctor' to diagnose build problems.

      This can be "fixed" by changing "INIT_CONTROL_VARIABLES" to "ALL_CONTROL_VARIABLES" on line 75:

       72 # A list like FOO="val1" BAR="val2" containing all user-supplied make
       73 # variables that we should propagate.
       74 # The '§' <=> '\ 'dance is needed to keep values with space in them connected.
       75 USER_MAKE_VARS := $(subst §,\ , $(filter-out $(addsuffix =%, $(INIT_CONTROL_VARIABLES)), \
       76 $(subst \ ,§,$(MAKEOVERRIDES))))

      Please have a look at this in the context of the original change.

            ihse Magnus Ihse Bursie
            smonteith Stuart Monteith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: