mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
This commit is contained in:
parent
89f13ef117
commit
8a9b0134a8
18 changed files with 68 additions and 55 deletions
|
@ -631,7 +631,9 @@ void FileMapInfo::write_region(int region, char* base, size_t size,
|
|||
si->_read_only = read_only;
|
||||
si->_allow_exec = allow_exec;
|
||||
si->_crc = ClassLoader::crc32(0, base, (jint)size);
|
||||
write_bytes_aligned(base, (int)size);
|
||||
if (base != NULL) {
|
||||
write_bytes_aligned(base, (int)size);
|
||||
}
|
||||
}
|
||||
|
||||
// Write out the given archive heap memory regions. GC code combines multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue