RFR: 8280682: Refactor AOT code source validation checks [v4]
David Holmes
dholmes at openjdk.org
Thu Feb 20 02:17:57 UTC 2025
On Wed, 19 Feb 2025 22:37:48 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
>> src/hotspot/share/runtime/threads.cpp line 809:
>>
>>> 807: vm_exit_during_initialization("ClassLoader::initialize_module_path() failed unexpectedly");
>>> 808: }
>>> 809: #endif
>>
>> Not obvious where this functionality is now handled.
>
> It is now being handled in `ClassLoaderDataShared::ensure_module_entry_tables_exist()` and `AOTCodeSourceConfig::dumptime_init_helper()`.
I don't see anything there that does a vm_exit if something has gone wrong. ??
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23476#discussion_r1962759081
More information about the serviceability-dev
mailing list