mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8212205: VM asserts after CDS archive has been unmapped
Reviewed-by: dholmes, jiangli, hseigel, stuefe
This commit is contained in:
parent
37ef084d73
commit
9a06fc3ea7
4 changed files with 11 additions and 4 deletions
|
@ -1355,6 +1355,8 @@ bool FileMapInfo::is_in_shared_region(const void* p, int idx) {
|
|||
|
||||
// Unmap mapped regions of shared space.
|
||||
void FileMapInfo::stop_sharing_and_unmap(const char* msg) {
|
||||
MetaspaceObj::set_shared_metaspace_range(NULL, NULL);
|
||||
|
||||
FileMapInfo *map_info = FileMapInfo::current_info();
|
||||
if (map_info) {
|
||||
map_info->fail_continue("%s", msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue