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

jhsdb jinfo fails with ClassCastException: s.j.h.oops.TypeArray cannot be cast to s.j.h.oops.Instance

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: core-svc

      Description

      Test that failed: test/hotspot/jtreg/containers/docker/TestJcmdWithSideCar.java
      This can be container related, or not.

      Frequency: Somewhat intermittent, fails about 1 in 4 times in CI

      Scenario:
        The observed JVM (target of jhsdb jinfo command) runs in container A (pid=1, normal when running in container), while the 'jhsdb jinfo' runs in a 'sidecar' container B. The containers are 'friendly' to each other, sharing process namespace, /tmp directories and signals. The PTRACE capability is enabled on the target container. It usually works, but in this instance it fails.

      See the relevant log section in the comments below:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mseledtsov Mikhailo Seledtsov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: