JDK 21 |
---|
21Unresolved |
Relates :
|
|
Relates :
|
When -Xshare:auto is used, FileMapInfo::fail_continue() prints the diagnostic message to the Info channel instead of Warning. This was necessary in the past because CDS would failed to load for many reasons (e.g., failure to mmap due to ASLR) that are not the fault of the user. On Windows the failure rate could be as much as 50%. If we printed the message in the Warning channel, the user would be overwhelmed and would ultimately ignore the warnings, rendering them useless. However, currently CDS is much more reliable. We should consider changing the failure logs to use the Warning channel instead.