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

Avoid PackageEntry lookup when loading shared classes

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      Start-up performance:

      During loading of a shared class, we currently lookup a PackageEntry based on a class name in several places such as the following:
      SystemDictionary::load_instance_class()
      SystemDictionaryShared::init_security_info()
      SystemDictionary::is_shared_class_visible()
      InstanceKlass::set_package()

      This RFE will hold on to the looked up PackageEntry in one place such as SystemDictionary::load_instance_class() and SystemDictionaryShared::load_shared_class_for_builtin_loader() and then pass it down to SystemDictionary::load_shared_boot_class(), SystemDictionary::load_shared_class(), SystemDictionary::is_shared_class_visible(), SystemDictionaryShared::init_security_info(), InstanceKlass::restore_unshareable_class_info() and InstanceKlass::set_package(), etc.


        Attachments

          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: