@@ -2064,8 +2064,8 @@ bool FileMapInfo::can_use_heap_region() {
20642064 archive_narrow_klass_shift);
20652065 log_info (cds)(" narrow_oop_mode = %d, narrow_oop_base = " PTR_FORMAT " , narrow_oop_shift = %d" ,
20662066 narrow_oop_mode (), p2i (narrow_oop_base ()), narrow_oop_shift ());
2067- log_info (cds)(" The current max heap size = " SIZE_FORMAT " M, HeapRegion ::GrainBytes = " SIZE_FORMAT,
2068- MaxHeapSize/M, HeapRegion ::GrainBytes);
2067+ log_info (cds)(" The current max heap size = " SIZE_FORMAT " M, G1HeapRegion ::GrainBytes = " SIZE_FORMAT,
2068+ MaxHeapSize/M, G1HeapRegion ::GrainBytes);
20692069 log_info (cds)(" narrow_klass_base = " PTR_FORMAT " , narrow_klass_shift = %d" ,
20702070 p2i (CompressedKlassPointers::base ()), CompressedKlassPointers::shift ());
20712071 log_info (cds)(" narrow_oop_mode = %d, narrow_oop_base = " PTR_FORMAT " , narrow_oop_shift = %d" ,
@@ -2130,7 +2130,7 @@ bool FileMapInfo::map_heap_region() {
21302130#ifdef ASSERT
21312131 // The "old" regions must be parsable -- we cannot have any unused space
21322132 // at the start of the lowest G1 region that contains archived objects.
2133- assert (is_aligned (_mapped_heap_memregion.start (), HeapRegion ::GrainBytes), " must be" );
2133+ assert (is_aligned (_mapped_heap_memregion.start (), G1HeapRegion ::GrainBytes), " must be" );
21342134
21352135 // Make sure we map at the very top of the heap - see comments in
21362136 // init_heap_region_relocation().
@@ -2140,7 +2140,7 @@ bool FileMapInfo::map_heap_region() {
21402140 address heap_end = (address)heap_range.end ();
21412141 address mapped_heap_region_end = (address)_mapped_heap_memregion.end ();
21422142 assert (heap_end >= mapped_heap_region_end, " must be" );
2143- assert (heap_end - mapped_heap_region_end < (intx)(HeapRegion ::GrainBytes),
2143+ assert (heap_end - mapped_heap_region_end < (intx)(G1HeapRegion ::GrainBytes),
21442144 " must be at the top of the heap to avoid fragmentation" );
21452145#endif
21462146
0 commit comments