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

GC flags shouldn't be passed to compiler/regalloc/C1ObjectSpillInLogicOp.java

XMLWordPrintable

      compiler/regalloc/C1ObjectSpillInLogicOp.java specify -XX:+UseG1GC, so other GC flags can't be passed to it.

      #section:main
      ----------messages:(3/916)----------
      command: main -XX:+UseG1GC C1ObjectSpillInLogicOp G1 barriers use logical operators (xor) on T_OBJECT mixed with T_LONG or T_INT. The current implementation of logical operations on x86 in C1 doesn't allow for long operands to be on stack. There is a special code in the register allocator that forces long arguments in registers on x86. However T_OBJECT can be spilled just fine, and in that case the xor emission will fail.
      reason: User specified action: run main/othervm -XX:+UseG1GC C1ObjectSpillInLogicOp G1 barriers use logical operators (xor) on T_OBJECT mixed with T_LONG or T_INT. The current implementation of logical operations on x86 in C1 doesn't allow for long operands to be on stack. There is a special code in the register allocator that forces long arguments in registers on x86. However T_OBJECT can be spilled just fine, and in that case the xor emission will fail.
      elapsed time (seconds): 0.01
      ----------System.out:(0/0)----------
      ----------System.err:(3/222)----------
      Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      result: Failed. Unexpected exit from test [exit code: 1]

            Unassigned Unassigned
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: