sun.jvm.hotspot.gc_interface.GCCause enum is out of sync with corresponding C++ enum. The relevant files are:
hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_interface/GCCause.java
hotspot/src/share/vm/gc_interface/GCCause.hpp
There is a comment in the .java file noting these need to be kept in sync, but there is no such comment in the C++ file. Probably there should be.
Although, given that these *are* currently out of sync, it makes me wonder whether the .java code is actually used at all.
hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_interface/GCCause.java
hotspot/src/share/vm/gc_interface/GCCause.hpp
There is a comment in the .java file noting these need to be kept in sync, but there is no such comment in the C++ file. Probably there should be.
Although, given that these *are* currently out of sync, it makes me wonder whether the .java code is actually used at all.