changeset 59168:0b02c862a03e

8239873: [TESTBUG] FieldLayout/OldLayoutCheck.java fails after the fix for JDK-8239503 Summary: Don't run the test with -XX:-UseCompressedOops. Reviewed-by: fparain, hseigel
author dcubed
date Thu, 27 Feb 2020 11:34:48 -0500
parents b5745158500a
children 8f26915495d6
files test/hotspot/jtreg/runtime/FieldLayout/OldLayoutCheck.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/FieldLayout/OldLayoutCheck.java	Wed Feb 26 15:32:25 2020 -0500
+++ b/test/hotspot/jtreg/runtime/FieldLayout/OldLayoutCheck.java	Thu Feb 27 11:34:48 2020 -0500
@@ -28,7 +28,7 @@
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @requires vm.bits == "64" & vm.gc != "Z"
+ * @requires vm.bits == "64" & vm.opt.final.UseCompressedOops == true & vm.gc != "Z"
  * @run main/othervm -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
  */