changeset 60167:9c05db2c5715

8239503: FieldLayout/OldLayoutCheck.java fails due to "RuntimeException: Misplaced int field: expected 24 to equal 12" Summary: Don't run the test with ZGC. Reviewed-by: dcubed, coleenp, dholmes
author pliden
date Thu, 20 Feb 2020 23:07:02 -0500
parents e3bc1e0ec534
children 18cc3b9dcebf
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	Thu Feb 20 16:36:38 2020 -0500
+++ b/test/hotspot/jtreg/runtime/FieldLayout/OldLayoutCheck.java	Thu Feb 20 23:07:02 2020 -0500
@@ -28,7 +28,7 @@
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @requires vm.bits == "64"
+ * @requires vm.bits == "64" & vm.gc != "Z"
  * @run main/othervm -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
  */