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

Replace SystemDictionaryShared::_java_platform_loader with SystemDictionary::is_platform_class_loader()

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31

      Description

      Migrated the computation of the _java_platform_loader from closed source to systemDictionary.cpp. The _java_platform_loader will be used by the AppCDS code.

      In the closed version of SystemDictionaryShared.cpp, we do a lot of comparison of "class_loader() == _java_platform_loader". To avoid duplication of functionality, this usage should be replaced with calls to SystemDictionary::is_platform_class_loader()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ccheung Calvin Cheung
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: