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

Clean up SymbolTable::allocate_symbol usage of DumpSharedSpaces

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: