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

serviceability/sa/Clhsdb tests are using a C2 specific VMStruct field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17, 18
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31

      Backports

        Description

        The two Clhsdb tests "ClhsdbField.java" and "ClhsdbVmStructsDump.java" are using the "field JVMState _bci" for testing. This field is C2 specific. Both tests are failing if C2 is not available:

        java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'field JVMState _bci' missing from stdout/stderr

        at ClhsdbField.main(ClhsdbField.java:69)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Caused by: java.lang.RuntimeException: 'field JVMState _bci' missing from stdout/stderr

        at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
        at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:166)
        at ClhsdbLauncher.run(ClhsdbLauncher.java:203)
        at ClhsdbField.main(ClhsdbField.java:65)
        ... 6 more

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cgo Christoph Göttschkes
                Reporter:
                cgo Christoph Göttschkes
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: