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

Remove dead code in metaspaceShared

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • hotspot
    • b05


      diff --git a/src/hotspot/share/cds/metaspaceShared.hpp b/src/hotspot/share/cds/metaspaceShared.hpp
      index 553facc6134..f9c45a6db12 100644
      --- a/src/hotspot/share/cds/metaspaceShared.hpp
      +++ b/src/hotspot/share/cds/metaspaceShared.hpp
      @@ -101,7 +101,6 @@ public:
           _archive_loading_failed = true;
         }

      - static bool map_shared_spaces(FileMapInfo* mapinfo) NOT_CDS_RETURN_(false);
         static void initialize_shared_spaces() NOT_CDS_RETURN;

         // Return true if given address is in the shared metaspace regions (i.e., excluding any
      @@ -110,10 +109,6 @@ public:
           return MetaspaceObj::is_shared((const MetaspaceObj*)p);
         }

      - static address shared_metaspace_top() {
      - return (address)MetaspaceObj::shared_metaspace_top();
      - }
      -
         static void set_shared_metaspace_range(void* base, void *static_top, void* top) NOT_CDS_RETURN;

         // Return true if given address is in the shared region corresponding to the idx

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: