diff 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
line wrap: on
line diff
--- a/src/hotspot/share/gc/g1/g1Allocator.hpp	Fri Nov 23 11:07:54 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1Allocator.hpp	Fri Nov 23 10:57:07 2018 +0100
@@ -262,8 +262,9 @@
   // Create the _archive_region_map which is used to identify archive objects.
   static inline void enable_archive_object_check();
 
-  // Set the regions containing the specified address range as archive/non-archive.
+  // Mark regions containing the specified address range as archive/non-archive.
   static inline void set_range_archive(MemRegion range, bool open);
+  static inline void clear_range_archive(MemRegion range, bool open);
 
   // Check if the object is in closed archive
   static inline bool is_closed_archive_object(oop object);