src/share/vm/classfile/classLoaderExt.hpp

Print this page
rev 6916 : 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Summary: Added API to track bootclasspath modification
Reviewed-by: jiangli, dholmes, minqi

@@ -61,10 +61,13 @@
 
   static void add_class_path_entry(const char* path, bool check_for_duplicates,
                                    ClassPathEntry* new_entry) {
     ClassLoader::add_to_list(new_entry);
   }
+  static void append_boot_classpath(ClassPathEntry* new_entry) {
+    ClassLoader::add_to_list(new_entry);
+  }
   static void setup_search_paths() {}
 
   static void init_lookup_cache(TRAPS) {}
   static void copy_lookup_cache_to_archive(char** top, char* end) {}
   static char* restore_lookup_cache_from_archive(char* buffer) {return buffer;}