equal
deleted
inserted
replaced
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. |