137 static void finish_loaded_heap();
138 static void verify_loaded_heap();
139 static void fill_failed_loaded_heap();
140
141 static bool is_in_loaded_heap(uintptr_t o) {
142 return (_loaded_heap_bottom <= o && o < _loaded_heap_top);
143 }
144
145 template<bool IS_MAPPED>
146 inline static oop decode_from_archive_impl(narrowOop v) NOT_CDS_JAVA_HEAP_RETURN_(nullptr);
147
148 class PatchLoadedRegionPointers;
149 class PatchUncompressedLoadedRegionPointers;
150
151 public:
152
153 static bool load_heap_region(FileMapInfo* mapinfo);
154 static void assert_in_loaded_heap(uintptr_t o) {
155 assert(is_in_loaded_heap(o), "must be");
156 }
157 #endif // INCLUDE_CDS_JAVA_HEAP
158
159 };
160
161 #endif // SHARE_CDS_ARCHIVEHEAPLOADER_HPP
|
137 static void finish_loaded_heap();
138 static void verify_loaded_heap();
139 static void fill_failed_loaded_heap();
140
141 static bool is_in_loaded_heap(uintptr_t o) {
142 return (_loaded_heap_bottom <= o && o < _loaded_heap_top);
143 }
144
145 template<bool IS_MAPPED>
146 inline static oop decode_from_archive_impl(narrowOop v) NOT_CDS_JAVA_HEAP_RETURN_(nullptr);
147
148 class PatchLoadedRegionPointers;
149 class PatchUncompressedLoadedRegionPointers;
150
151 public:
152
153 static bool load_heap_region(FileMapInfo* mapinfo);
154 static void assert_in_loaded_heap(uintptr_t o) {
155 assert(is_in_loaded_heap(o), "must be");
156 }
157 static oop oop_from_offset(int offset);
158 #endif // INCLUDE_CDS_JAVA_HEAP
159
160 };
161
162 #endif // SHARE_CDS_ARCHIVEHEAPLOADER_HPP
|