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

Remove redundant pkg_str param from is_shared_class_visible_for_classloader

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • hotspot
    • b18

      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.

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

              Created:
              Updated:
              Resolved: