RFR(S): 8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
Lois Foltan
lois.foltan at oracle.com
Mon Jul 9 18:58:48 UTC 2018
On 7/9/2018 1:29 PM, Calvin Cheung wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8205946
>
> webrev: http://cr.openjdk.java.net/~ccheung/8205946/webrev.00/
>
> The JVM crash could be simulated by renaming/removing the modules file
> under the jdk/lib directory.
> The proposed simple fix is to perform a vm_exit_during_initialization().
Hi Calvin,
Some clarifying questions. Is this just an issue for exploded builds?
I would prefer the exit to occur if the os::stat() fails for the system
class path in os::set_boot_path(). With certainly an added assert later
in ClassLoader::setup_bootstrap_search_path() to ensure that the system
class path is never NULL.
Thanks,
Lois
>
> Ran hs-tier{1,2,3} tests successfully including the new test case.
>
> thanks,
> Calvin
More information about the hotspot-runtime-dev
mailing list