hotspot/test/compiler/regalloc/C1ObjectSpillInLogicOp.java
changeset 39414 4adf52148100
parent 27692 11c231c781dc
child 40059 c2304140ed64
--- a/hotspot/test/compiler/regalloc/C1ObjectSpillInLogicOp.java	Tue Jun 21 18:37:04 2016 +0400
+++ b/hotspot/test/compiler/regalloc/C1ObjectSpillInLogicOp.java	Fri Jun 24 19:52:31 2016 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
 /*
  * @test
  * @bug 8027751
- * @requires vm.gc=="G1" | vm.gc=="null"
+ * @requires vm.gc.G1
  * @summary C1 crashes generating G1 post-barrier in Unsafe.getAndSetObject() intrinsic because of the new value spill
  * @run main/othervm -XX:+UseG1GC C1ObjectSpillInLogicOp
  *