Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/filemap.cpp @ 8804:91bf0bdae37b
8008217: CDS: Class data sharing limits the malloc heap on Solaris
Summary: In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress. In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address.
Reviewed-by: kvn, dcubed, zgu, hseigel
author | coleenp |
---|---|
date | Wed, 20 Mar 2013 08:04:54 -0400 |
parents | c4ef3380a70b |
children | 868d87ed63c8 |
comparison
equal
deleted
inserted
replaced
8803:a649f6511c04 | 8804:91bf0bdae37b |
---|---|
370 | 370 |
371 // Reserve the space first, then map otherwise map will go right over some | 371 // Reserve the space first, then map otherwise map will go right over some |
372 // other reserved memory (like the code cache). | 372 // other reserved memory (like the code cache). |
373 ReservedSpace rs(size, alignment, false, requested_addr); | 373 ReservedSpace rs(size, alignment, false, requested_addr); |
374 if (!rs.is_reserved()) { | 374 if (!rs.is_reserved()) { |
375 fail_continue(err_msg("Unable to reserved shared space at required address " INTPTR_FORMAT, requested_addr)); | 375 fail_continue(err_msg("Unable to reserve shared space at required address " INTPTR_FORMAT, requested_addr)); |
376 return rs; | 376 return rs; |
377 } | 377 } |
378 // the reserved virtual memory is for mapping class data sharing archive | 378 // the reserved virtual memory is for mapping class data sharing archive |
379 MemTracker::record_virtual_memory_type((address)rs.base(), mtClassShared); | 379 MemTracker::record_virtual_memory_type((address)rs.base(), mtClassShared); |
380 | 380 |