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

SA has unused Hashtable, Dictionary classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      We are working on replacing the BasicHashtable and Hashtable implementations in the runtime. The SA has these classes defined, and the function allEntriesDo (like the JVMTI function) but they are unused by the SA.

      The only reason to use the Dictionary in the ClassLoaderData is to see which classes initiate loading for other classes. This is viewable inside GDB if you really need it. It's an implementation detail that is unlikely to be the cause of crash logs and core files in the field.

      I think there used to be a caller for ClassLoaderDataGraph.allEntriesDo. The hprof and useful class dump functionality uses classesDo, which uses the ClassLoaderData::_klasses field to iterate, not the dictionary.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: