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

Redundant lookup_common in SymbolTable::add

    XMLWordPrintable

    Details

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

      Description

      Arguments passed to SymbolTable::add has already been through a call to lookup_common, so a small optimization is to remove the redundant call inside the add method: do_add_if_needed will do a quick get into the dynamic hash table anyhow.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: