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

minor cleanups in gc/whitebox/TestWBGC.java

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b04

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            dcubed Daniel Daugherty
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: