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

microbenchmarks failed with self-reference in initializer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8
    • performance
    • 8

      Use http://aurora-ds.us.oracle.com:9502/jdk8-lambda/b114_2013-10-29-1501_614/ws-b114_2013-10-29-1501_614/build/linux-amd64/j2sdk-image/ to build microbenchmark.jar

      Output:
      [INFO] Building Microbenchmarks (Java 8, Lambda support)
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean {execution: default-clean}]
      [INFO] [resources:resources {execution: default-resources}]
      [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] Copying 1 resource
      [INFO] [compiler:compile {execution: default-compile}]
      [INFO] Changes detected - recompiling the module!
      [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
      [INFO] Compiling 71 source files to /root/benchmarks/microbenchmarks/micros-jdk8-lambda/target/classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
      [ERROR] /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer
      [INFO] 7 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,42] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Fibonacci.java:[59,67] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[60,29] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,58] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Ackermann.java:[61,29] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[57,36] self-reference in initializer
      /root/benchmarks/microbenchmarks/micros-jdk8-lambda/src/main/java/oracle/micro/benchmarks/jsr335/lambda/invoke/Add.java:[65,36] self-reference in initializer

      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8 minutes 37 seconds
      [INFO] Finished at: Thu Oct 31 20:46:27 CET 2013
      [INFO] Final Memory: 34M/715M
      [INFO] ------------------------------------------------------------------------

            shade Aleksey Shipilev
            lshikhva Ludmila Shikhvarg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: