< prev index next >
src/share/vm/classfile/classLoaderExt.hpp
Print this page
rev 6864 : 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time
Summary: Implemented the interface in sun.misc.URLClassPath and corresponding JVM_XXX APIs
Reviewed-by: mchung, acorn, jiangli, dholmes
@@ -62,8 +62,17 @@
static void add_class_path_entry(const char* path, bool check_for_duplicates,
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;}
+ static inline bool is_lookup_cache_enabled() {return false;}
+
+ static bool known_to_not_exist(JNIEnv *env, jobject loader, const char *classname, TRAPS) {return false;}
+ static jobjectArray get_lookup_cache_urls(JNIEnv *env, jobject loader, TRAPS) {return NULL;}
+ static jintArray get_lookup_cache(JNIEnv *env, jobject loader, const char *pkgname, TRAPS) {return NULL;}
};
#endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP
< prev index next >