--- a/test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest03.java Mon Dec 10 17:34:49 2018 +0300
+++ b/test/hotspot/jtreg/serviceability/tmtools/jstat/GcCauseTest03.java Mon Dec 10 15:47:44 2018 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, 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
@@ -27,7 +27,7 @@
* Test scenario:
* test forces debuggee application call System.gc(), runs jstat and checks that
* cause of last garbage collection displayed by jstat (LGCC) is 'System.gc()'.
- * @requires vm.gc != "Z"
+ * @requires vm.gc != "Z" & vm.gc != "Shenandoah"
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @library ../share