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

[Testbug] serviceability/sa/Jhsdb* tests can't tolerate unrelated warnings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b39

      Backports

        Description

        Test: serviceability/sa/JhsdbThreadInfoTest.java

         stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "UseMembar" should be removed
        Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "FastTLABRefill" should be removed
        Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "SafepointSpinBeforeYield" should be removed
        Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "DeferThrSuspendLoopCount" should be removed
        Java HotSpot(TM) 64-Bit Server VM warning: Global variable for obsolete special flag entry "DeferPollingPageLoopCount" should be removed
        Java HotSpot(TM) 64-Bit Server VM warning: Global variable for expired flag entry "UseCGroupMemoryLimitForHeap" should be removed
        ]
         exitValue = 0

        java.lang.Error: Couldn't start jhsdb, attach to LingeredApp or match ThreadName: java.lang.RuntimeException: stderr was not empty
        at JhsdbThreadInfoTest.main(JhsdbThreadInfoTest.java:78)

        Similarly for serviceability/sa/TestJhsdbJstackLock.java

        The tests contain:

            out.stderrShouldBeEmpty();

        to watch for unexpected problems, but that also catches unrelated VM warnings.

          Issue Links

            Activity

            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk/jdk10/rev/899a137688b8
            User: sballal
            Date: 2018-01-09 09:56:43 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk10/rev/899a137688b8 User: sballal Date: 2018-01-09 09:56:43 +0000

              People

              • Assignee:
                sballal Sharath Ballal
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: