diff -r d4af6b80aec3 -r a474466c4fdb src/hotspot/share/classfile/klassFactory.cpp --- a/src/hotspot/share/classfile/klassFactory.cpp Fri Nov 17 20:56:14 2017 +0300 +++ b/src/hotspot/share/classfile/klassFactory.cpp Sun Nov 19 23:30:41 2017 -0500 @@ -231,7 +231,7 @@ #if INCLUDE_CDS if (DumpSharedSpaces) { - ClassLoader::record_shared_class_loader_type(result, stream); + ClassLoader::record_result(result, stream); #if INCLUDE_JVMTI assert(cached_class_file == NULL, "Sanity"); // Archive the class stream data into the optional data section