src/hotspot/share/memory/dynamicArchive.hpp
changeset 59070 22ee476cc664
parent 58096 0d97bf7cf8a4
equal deleted inserted replaced
59069:e0d59f0c2b7d 59070:22ee476cc664
    97 
    97 
    98   // Does obj point to an address inside the runtime target space of the dynamic
    98   // Does obj point to an address inside the runtime target space of the dynamic
    99   // archive?
    99   // archive?
   100   static bool is_in_target_space(void *obj);
   100   static bool is_in_target_space(void *obj);
   101 
   101 
   102   static address map();
   102   static bool is_mapped() { return FileMapInfo::dynamic_info() != NULL; }
   103   static bool is_mapped();
       
   104   static bool validate(FileMapInfo* dynamic_info);
   103   static bool validate(FileMapInfo* dynamic_info);
   105   static void disable();
       
   106 private:
       
   107   static address map_impl(FileMapInfo* mapinfo);
       
   108   static void map_failed(FileMapInfo* mapinfo);
       
   109 };
   104 };
   110 #endif // INCLUDE_CDS
   105 #endif // INCLUDE_CDS
   111 #endif // SHARE_VM_MEMORY_DYNAMICARCHIVE_HPP
   106 #endif // SHARE_VM_MEMORY_DYNAMICARCHIVE_HPP