mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8215342: [Zero] Build fails after JDK-8200613
Reviewed-by: shade, jgeorge
This commit is contained in:
parent
d51be0e1b3
commit
169729fe9b
1 changed files with 4 additions and 0 deletions
|
@ -1354,9 +1354,11 @@ void os::shutdown() {
|
|||
void os::abort(bool dump_core, void* siginfo, const void* context) {
|
||||
os::shutdown();
|
||||
if (dump_core) {
|
||||
#if INCLUDE_CDS
|
||||
if (UseSharedSpaces && DumpPrivateMappingsInCore) {
|
||||
ClassLoader::close_jrt_image();
|
||||
}
|
||||
#endif
|
||||
#ifndef PRODUCT
|
||||
fdStream out(defaultStream::output_fd());
|
||||
out.print_raw("Current thread is ");
|
||||
|
@ -5075,9 +5077,11 @@ jint os::init_2(void) {
|
|||
set_coredump_filter(DAX_SHARED_BIT);
|
||||
}
|
||||
|
||||
#if INCLUDE_CDS
|
||||
if (UseSharedSpaces && DumpPrivateMappingsInCore) {
|
||||
set_coredump_filter(FILE_BACKED_PVT_BIT);
|
||||
}
|
||||
#endif
|
||||
|
||||
return JNI_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue