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

Redundant lookup_common in SymbolTable::add

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • None
    • hotspot
    • b10

      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.

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

              Created:
              Updated:
              Resolved: