Clean up SymbolTable::allocate_symbol usage of DumpSharedSpaces

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot

      The code in SymbolTable::allocate_symbols has some strange conditionals:

        if (DumpSharedSpaces) {
          // TODO: Special handling of Symbol allocation for DumpSharedSpaces will be removed
          // in JDK-8250989
          c_heap = false;
        }
        if (c_heap) {
        } else if (DumpSharedSpaces) {
        } else {
        }

      Body of conditionals removed when irrelevant. This could be cleaned up by doing the symbol allocation in the first DumpSharedSpaces-branch and removing the second one and returning early.

            Assignee:
            Matias Saavedra Silva
            Reporter:
            Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: