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

Move some ClassLoader name checking to native/VM

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      For findBootstrapClassOrNull and findLoadedClass, the result of a malformed name is returning null, which is what the native methods return on error. The equivalent of the checkName sanity test is either already performed or could be performed for free in the native layer, which saves a few cycles on startup.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: