equal
deleted
inserted
replaced
93 private: |
93 private: |
94 #if INCLUDE_CDS |
94 #if INCLUDE_CDS |
95 static char* get_class_path_attr(const char* jar_path, char* manifest, jint manifest_size); |
95 static char* get_class_path_attr(const char* jar_path, char* manifest, jint manifest_size); |
96 static void setup_app_search_path(); // Only when -Xshare:dump |
96 static void setup_app_search_path(); // Only when -Xshare:dump |
97 static void process_module_table(ModuleEntryTable* met, TRAPS); |
97 static void process_module_table(ModuleEntryTable* met, TRAPS); |
98 static void setup_module_search_path(TRAPS); |
|
99 static SharedPathsMiscInfoExt* shared_paths_misc_info() { |
98 static SharedPathsMiscInfoExt* shared_paths_misc_info() { |
100 return (SharedPathsMiscInfoExt*)_shared_paths_misc_info; |
99 return (SharedPathsMiscInfoExt*)_shared_paths_misc_info; |
101 } |
100 } |
102 // index of first app JAR in shared classpath entry table |
101 // index of first app JAR in shared classpath entry table |
103 static jshort _app_class_paths_start_index; |
102 static jshort _app_class_paths_start_index; |
110 |
109 |
111 public: |
110 public: |
112 CDS_ONLY(static void process_jar_manifest(ClassPathEntry* entry, bool check_for_duplicates);) |
111 CDS_ONLY(static void process_jar_manifest(ClassPathEntry* entry, bool check_for_duplicates);) |
113 |
112 |
114 // Called by JVMTI code to add boot classpath |
113 // Called by JVMTI code to add boot classpath |
115 static void append_boot_classpath(ClassPathEntry* new_entry) { |
114 static void append_boot_classpath(ClassPathEntry* new_entry); |
116 #if INCLUDE_CDS |
|
117 if (UseAppCDS) { |
|
118 warning("UseAppCDS is disabled because bootstrap classpath has been appended"); |
|
119 UseAppCDS = false; |
|
120 } |
|
121 #endif |
|
122 ClassLoader::add_to_boot_append_entries(new_entry); |
|
123 } |
|
124 |
115 |
125 static void setup_search_paths() NOT_CDS_RETURN; |
116 static void setup_search_paths() NOT_CDS_RETURN; |
126 static void setup_module_paths(TRAPS) NOT_CDS_RETURN; |
117 static void setup_module_paths(TRAPS) NOT_CDS_RETURN; |
127 |
118 |
128 #if INCLUDE_CDS |
119 #if INCLUDE_CDS |