Open arjunpidugu642 opened 2 years ago
Are you using some other agent, that could redefine well-known classes? Well-known classes are some of core JDK classes and are typically redefined by profiler like Flight recorder of YourKit, may be it can be redefined by something else. You can check what's being redefined by turning on redefinition log using -Xlog:redefine+class*=info
We got similar issue(https://github.com/HotswapProjects/openjdk-jdk11u-dcevm/issues/6) and below are the details.
Error Message : """ [0.048s][error][class] Invalid layout of java.lang.StackFrameInfo field: bci type: I Error occurred during initialization of VM Invalid layout of well-known class: use -Xlog:class+load=info to see the origin of the problem class """
JDK Version: 11.0.13+8 (build 11.0.13+8)
Windows OS : 10.
Type of Machine : VM
Observations: Issue is very sporadic .
What could be the root cause for this and can anyone help me on this?