Mercurial > hg > truffle
diff src/share/vm/classfile/classLoader.hpp @ 3546:4aa80ca3dbec
Separate compiler bootstrappath from application bootstrappath.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Sun, 14 Aug 2011 00:55:28 +0200 |
parents | 1d1603768966 |
children | 723df37192d6 |
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.hpp Sat Aug 13 18:21:33 2011 +0200 +++ b/src/share/vm/classfile/classLoader.hpp Sun Aug 14 00:55:28 2011 +0200 @@ -49,6 +49,7 @@ class ClassPathEntry: public CHeapObj { private: ClassPathEntry* _next; + bool _compiler_thread_only; public: // Next entry in class path ClassPathEntry* next() { return _next; } @@ -59,6 +60,8 @@ virtual bool is_jar_file() = 0; virtual const char* name() = 0; virtual bool is_lazy(); + bool compiler_thread_only() const { return _compiler_thread_only; } + void set_compiler_thread_only(bool b) { _compiler_thread_only = b; } // Constructor ClassPathEntry(); // Attempt to locate file_name through this class path entry. @@ -206,6 +209,7 @@ // Initialization static void setup_meta_index(); static void setup_bootstrap_search_path(); + static void setup_bootstrap_search_path(char* sys_class_path, bool compiler_cp); static void load_zip_library(); static void create_class_path_entry(char *path, struct stat st, ClassPathEntry **new_entry, bool lazy); @@ -215,7 +219,8 @@ public: // Used by the kernel jvm. static void update_class_path_entry_list(const char *path, - bool check_for_duplicates); + bool check_for_duplicates, + bool compiler_cp); static void print_bootclasspath(); // Timing