src/hotspot/share/classfile/classLoaderExt.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Cdiff src/hotspot/share/classfile/classLoaderExt.cpp

src/hotspot/share/classfile/classLoaderExt.cpp

Print this page

        

*** 48,57 **** --- 48,58 ---- #include "services/threadService.hpp" #include "utilities/stringUtils.hpp" jshort ClassLoaderExt::_app_class_paths_start_index = ClassLoaderExt::max_classpath_index; jshort ClassLoaderExt::_app_module_paths_start_index = ClassLoaderExt::max_classpath_index; + jshort ClassLoaderExt::_max_used_path_index = 0; bool ClassLoaderExt::_has_app_classes = false; bool ClassLoaderExt::_has_platform_classes = false; void ClassLoaderExt::append_boot_classpath(ClassPathEntry* new_entry) { #if INCLUDE_CDS
*** 240,249 **** --- 241,253 ---- ClassLoaderExt::set_has_app_classes(); } else if (SystemDictionary::is_platform_class_loader(loader)) { classloader_type = ClassLoader::PLATFORM_LOADER; ClassLoaderExt::set_has_platform_classes(); } + if (classpath_index > ClassLoaderExt::max_used_path_index()) { + ClassLoaderExt::set_max_used_path_index(classpath_index); + } result->set_shared_classpath_index(classpath_index); result->set_class_loader_type(classloader_type); } void ClassLoaderExt::finalize_shared_paths_misc_info() {
src/hotspot/share/classfile/classLoaderExt.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File