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

Redundant lookup_common in SymbolTable::add

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: