test/compiler/regalloc/C1ObjectSpillInLogicOp.java
Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
*** 22,31 ****
--- 22,32 ----
*/
/*
* @test
* @bug 8027751
+ * @requires vm.gc=="G1" | vm.gc=="null"
* @summary C1 crashes generating G1 post-barrier in Unsafe.getAndSetObject() intrinsic because of the new value spill
* @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.