Skip to content

Commit 7537001

Browse files
committed
8355556: JVM crash because archived method handle intrinsics are not restored
Reviewed-by: shade Backport-of: 366650a
1 parent eb727dc commit 7537001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/threads.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
771771
#endif
772772

773773
if (CDSConfig::is_using_aot_linked_classes()) {
774-
AOTLinkedClassBulkLoader::finish_loading_javabase_classes(CHECK_JNI_ERR);
775774
SystemDictionary::restore_archived_method_handle_intrinsics();
775+
AOTLinkedClassBulkLoader::finish_loading_javabase_classes(CHECK_JNI_ERR);
776776
}
777777

778778
// Start string deduplication thread if requested.

0 commit comments

Comments
 (0)