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

Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        Within the JVM there are several ways to obtain a class loader's name:

        - java_lang_ClassLoader::name()
        - SystemDictionary::loader_name()
        - ClassLoaderData::loader_name()

        This enhancement is to standardized on the use of ClassLoaderData::loader_name() as the correct way to obtain a class loader's name. All uses of java_lang_ClassLoader::name() and SystemDictionary::loader_name() should be replaced.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfoltan Lois Foltan
                  Reporter:
                  lfoltan Lois Foltan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: