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

Linker cache should not take layout names into account

    XMLWordPrintable

Details

    Description

      Layout names are of no consequence to the linker, however, the current DOWNCALL_CACHE and UPCALL_CACHE in AbstractLinker inadvertantly factor these layout names into the keys of the cache, as the cache key type, LinkRequest, uses FunctionDescriptor's hashcode/equals, which uses MemoryLayout's hashcode/equals, which relies on layout names.

      LinkeRequest should override hashcode and equals to ignore layout names.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: