equal
deleted
inserted
replaced
107 static bool is_strongly_reachable(ClassLoaderData* loader_data, Klass* klass) { |
107 static bool is_strongly_reachable(ClassLoaderData* loader_data, Klass* klass) { |
108 assert (klass != NULL, "should have non-null klass"); |
108 assert (klass != NULL, "should have non-null klass"); |
109 return (loader_data->is_the_null_class_loader_data() || !ClassUnloading); |
109 return (loader_data->is_the_null_class_loader_data() || !ClassUnloading); |
110 } |
110 } |
111 |
111 |
112 // Unload (that is, break root links to) all unmarked classes and |
112 // Unload (that is, break root links to) all unmarked classes and loaders. |
113 // loaders. Returns "true" iff something was unloaded. |
113 void do_unloading(); |
114 bool do_unloading(); |
|
115 |
114 |
116 // Protection domains |
115 // Protection domains |
117 Klass* find(int index, unsigned int hash, Symbol* name, |
116 Klass* find(int index, unsigned int hash, Symbol* name, |
118 ClassLoaderData* loader_data, Handle protection_domain, TRAPS); |
117 ClassLoaderData* loader_data, Handle protection_domain, TRAPS); |
119 bool is_valid_protection_domain(int index, unsigned int hash, |
118 bool is_valid_protection_domain(int index, unsigned int hash, |