Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classLoaderExt.hpp @ 20608:4cb90023bf2b
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
author | iklam |
---|---|
date | Mon, 13 Oct 2014 16:09:57 -0700 |
parents | bb239308be67 |
children | 887a7cedb892 |
comparison
equal
deleted
inserted
replaced
20607:f5f752e74840 | 20608:4cb90023bf2b |
---|---|
62 static void add_class_path_entry(const char* path, bool check_for_duplicates, | 62 static void add_class_path_entry(const char* path, bool check_for_duplicates, |
63 ClassPathEntry* new_entry) { | 63 ClassPathEntry* new_entry) { |
64 ClassLoader::add_to_list(new_entry); | 64 ClassLoader::add_to_list(new_entry); |
65 } | 65 } |
66 static void setup_search_paths() {} | 66 static void setup_search_paths() {} |
67 | |
68 static void init_lookup_cache(TRAPS) {} | |
69 static void copy_lookup_cache_to_archive(char** top, char* end) {} | |
70 static char* restore_lookup_cache_from_archive(char* buffer) {return buffer;} | |
71 static inline bool is_lookup_cache_enabled() {return false;} | |
72 | |
73 static bool known_to_not_exist(JNIEnv *env, jobject loader, const char *classname, TRAPS) {return false;} | |
74 static jobjectArray get_lookup_cache_urls(JNIEnv *env, jobject loader, TRAPS) {return NULL;} | |
75 static jintArray get_lookup_cache(JNIEnv *env, jobject loader, const char *pkgname, TRAPS) {return NULL;} | |
67 }; | 76 }; |
68 | 77 |
69 #endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP | 78 #endif // SHARE_VM_CLASSFILE_CLASSLOADEREXT_HPP |