Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248049

minor cleanups in gc/whitebox/TestWBGC.java

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • gc
    • b04

      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

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: