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

Reduce the use of get_canonical_path() in CDS

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b11

      Description

      The calls to get_canonical_path() in ClassLoader::record_result() could be replaced with just getting the native path.
      It is because now we have the os::same_files() functions to check if two files are the same instead of using strcmp.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: