comparison src/hotspot/share/gc/g1/g1Allocator.hpp @ 53642:c9325aa887da

8214118: HeapRegions marked as archive even if CDS mapping fails Reviewed-by: tschatzl, jiangli
author sjohanss
date Fri, 23 Nov 2018 10:57:07 +0100
parents 8dbf1a13af49
children 9807daeb47c4 ee29b516a36a
comparison
equal deleted inserted replaced
7:a2ac3ad44519 8:a3864a771321
260 } 260 }
261 261
262 // Create the _archive_region_map which is used to identify archive objects. 262 // Create the _archive_region_map which is used to identify archive objects.
263 static inline void enable_archive_object_check(); 263 static inline void enable_archive_object_check();
264 264
265 // Set the regions containing the specified address range as archive/non-archive. 265 // Mark regions containing the specified address range as archive/non-archive.
266 static inline void set_range_archive(MemRegion range, bool open); 266 static inline void set_range_archive(MemRegion range, bool open);
267 static inline void clear_range_archive(MemRegion range, bool open);
267 268
268 // Check if the object is in closed archive 269 // Check if the object is in closed archive
269 static inline bool is_closed_archive_object(oop object); 270 static inline bool is_closed_archive_object(oop object);
270 // Check if the object is in open archive 271 // Check if the object is in open archive
271 static inline bool is_open_archive_object(oop object); 272 static inline bool is_open_archive_object(oop object);