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

MetaspaceShared::preload_and_dump should check exceptions

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: