During the code review for the following fix:
JDK-8246477 add whitebox support for deflating idle monitors
David H. made a couple of nit comments on my new test.
Since I created my test by copying and modifying TestWBGC.java,
it makes sense to also fix those nits in that test:
$ hg diff
diff -r aa1a1a674ec6 test/hotspot/jtreg/gc/whitebox/TestWBGC.java
--- a/test/hotspot/jtreg/gc/whitebox/TestWBGC.java Mon Jun 22 16:03:40 2020 -0400
+++ b/test/hotspot/jtreg/gc/whitebox/TestWBGC.java Mon Jun 22 16:06:29 2020 -0400
@@ -24,9 +24,9 @@
package gc.whitebox;
/*
- * @test TestWBGC
+ * @test
* @bug 8055098
- * @summary Test verify that WB methods isObjectInOldGen and youngGC works correctly.
+ * @summary Test to verify that WB methods isObjectInOldGen and youngGC work correctly.
* @requires vm.gc != "Z" & vm.gc != "Shenandoah"
* @library /test/lib
* @modules java.base/jdk.internal.misc
David H. made a couple of nit comments on my new test.
Since I created my test by copying and modifying TestWBGC.java,
it makes sense to also fix those nits in that test:
$ hg diff
diff -r aa1a1a674ec6 test/hotspot/jtreg/gc/whitebox/TestWBGC.java
--- a/test/hotspot/jtreg/gc/whitebox/TestWBGC.java Mon Jun 22 16:03:40 2020 -0400
+++ b/test/hotspot/jtreg/gc/whitebox/TestWBGC.java Mon Jun 22 16:06:29 2020 -0400
@@ -24,9 +24,9 @@
package gc.whitebox;
/*
- * @test TestWBGC
+ * @test
* @bug 8055098
- * @summary Test verify that WB methods isObjectInOldGen and youngGC works correctly.
+ * @summary Test to verify that WB methods isObjectInOldGen and youngGC work correctly.
* @requires vm.gc != "Z" & vm.gc != "Shenandoah"
* @library /test/lib
* @modules java.base/jdk.internal.misc