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

      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:

            iklam Ioi Lam
            mseledtsov Mikhailo Seledtsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: