8076613: gc/TestSmallHeap.java failed with OOME
authorkbarrett
Tue, 02 Jun 2015 19:19:37 -0400
changeset 31029 9c1a5254c185
parent 31028 8c5b4d489c41
child 31031 d0b85f02898f
8076613: gc/TestSmallHeap.java failed with OOME Summary: Disable test when compressed oops are disabled. Reviewed-by: tschatzl, brutisso
hotspot/test/gc/TestSmallHeap.java
--- a/hotspot/test/gc/TestSmallHeap.java	Fri May 29 10:44:32 2015 -0400
+++ b/hotspot/test/gc/TestSmallHeap.java	Tue Jun 02 19:19:37 2015 -0400
@@ -27,6 +27,7 @@
  * @requires vm.gc=="null"
  * @requires (vm.opt.AggressiveOpts=="null") | (vm.opt.AggressiveOpts=="false")
  * @requires vm.compMode != "Xcomp"
+ * @requires vm.opt.UseCompressedOops != false
  * @summary Verify that starting the VM with a small heap works
  * @library /testlibrary /../../test/lib
  * @modules java.management/sun.management