Java GCCause enum is out of sync with C++ GCCause enum

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • gc
    • b115
    • generic
    • generic

      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.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: