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

Remove redundant pkg_str param from is_shared_class_visible_for_classloader

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      Unless I'm missing something, pkg_str == NULL iff pkg_name == NULL, and since NULLness is all is_shared_class_visible_for_classloader ever cares about it seems wasteful to always allocate the C string version of the pkg_name symbol.

        Attachments

          Activity

            People

            • Assignee:
              redestad Claes Redestad
              Reporter:
              redestad Claes Redestad
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: