mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
This commit is contained in:
parent
c97af8c3f7
commit
8360a7884d
2 changed files with 4 additions and 5 deletions
|
@ -1359,11 +1359,9 @@ void os::shutdown() {
|
|||
void os::abort(bool dump_core, void* siginfo, const void* context) {
|
||||
os::shutdown();
|
||||
if (dump_core) {
|
||||
#ifndef ZERO
|
||||
if (DumpPrivateMappingsInCore) {
|
||||
ClassLoader::close_jrt_image();
|
||||
}
|
||||
#endif
|
||||
#ifndef PRODUCT
|
||||
fdStream out(defaultStream::output_fd());
|
||||
out.print_raw("Current thread is ");
|
||||
|
|
|
@ -620,13 +620,14 @@ void ClassLoader::setup_module_search_path(const char* path, TRAPS) {
|
|||
update_module_path_entry_list(path, THREAD);
|
||||
}
|
||||
|
||||
#endif // INCLUDE_CDS
|
||||
|
||||
void ClassLoader::close_jrt_image() {
|
||||
assert(ClassLoader::has_jrt_entry(), "Not applicable for exploded builds");
|
||||
// Not applicable for exploded builds
|
||||
if (!ClassLoader::has_jrt_entry()) return;
|
||||
_jrt_entry->close_jimage();
|
||||
}
|
||||
|
||||
#endif // INCLUDE_CDS
|
||||
|
||||
// Construct the array of module/path pairs as specified to --patch-module
|
||||
// for the boot loader to search ahead of the jimage, if the class being
|
||||
// loaded is defined to a module that has been specified to --patch-module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue