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

[TESTBUG] a few StringTable tests should use new -XX:+VerifyStringTableAtExit option

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      A new -XX:+VerifyStringTableAtExit option is being added by the fix for
      the following bug:

          JDK-8019835 Strings interned in different threads equal but does not ==

      It would be good to add the new option to a few of the StringTable
      stress tests so that we get more test coverage.

      In the hunt for JDK-8019835, I found the following VM/NSK test to be useful:

          gc/gctests/StringInternSync

      And that's the test I used for developing the new StringTable verification code.

        Attachments

          Activity

            People

            • Assignee:
              ctornqvi Christian Tornqvist
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: