src/hotspot/share/memory/filemap.cpp
changeset 51070 2f4c3cac8556
parent 50199 83d8b3a25f25
child 51439 0517bd2a0eda
equal deleted inserted replaced
51069:d5d5f6658b12 51070:2f4c3cac8556
   629   }
   629   }
   630   si->_used = size;
   630   si->_used = size;
   631   si->_read_only = read_only;
   631   si->_read_only = read_only;
   632   si->_allow_exec = allow_exec;
   632   si->_allow_exec = allow_exec;
   633   si->_crc = ClassLoader::crc32(0, base, (jint)size);
   633   si->_crc = ClassLoader::crc32(0, base, (jint)size);
   634   write_bytes_aligned(base, (int)size);
   634   if (base != NULL) {
       
   635     write_bytes_aligned(base, (int)size);
       
   636   }
   635 }
   637 }
   636 
   638 
   637 // Write out the given archive heap memory regions.  GC code combines multiple
   639 // Write out the given archive heap memory regions.  GC code combines multiple
   638 // consecutive archive GC regions into one MemRegion whenever possible and
   640 // consecutive archive GC regions into one MemRegion whenever possible and
   639 // produces the 'heap_mem' array.
   641 // produces the 'heap_mem' array.