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

MetaspaceShared::preload_and_dump should check exceptions

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      https://github.com/openjdk/jdk/blob/699a3cde74eac74fb54b2ade94d437c010449f89/src/hotspot/share/memory/metaspaceShared.cpp#L825

      E.g.,

         if (SharedArchiveConfigFile) {
            log_info(cds)("Reading extra data from %s ...", SharedArchiveConfigFile);
            read_extra_data(SharedArchiveConfigFile, THREAD);
            log_info(cds)("Reading extra data: done.");
          }

      The use of THREAD should be changed to CHECK or CATCH.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: