218
219 // Is the defining class loader of this class the default loader?
220 bool uses_default_loader() const;
221
222 bool is_java_lang_Object() const;
223
224 BasicType box_klass_type() const;
225 bool is_box_klass() const;
226 bool is_boxed_value_offset(int offset) const;
227
228 // Is this klass in the given package?
229 bool is_in_package(const char* packagename) {
230 return is_in_package(packagename, (int) strlen(packagename));
231 }
232 bool is_in_package(const char* packagename, int len);
233
234 // What kind of ciObject is this?
235 bool is_instance_klass() const { return true; }
236 bool is_java_klass() const { return true; }
237
238 // Dump the current state of this klass for compilation replay.
239 virtual void dump_replay_data(outputStream* out);
240 };
241
242 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP
|
218
219 // Is the defining class loader of this class the default loader?
220 bool uses_default_loader() const;
221
222 bool is_java_lang_Object() const;
223
224 BasicType box_klass_type() const;
225 bool is_box_klass() const;
226 bool is_boxed_value_offset(int offset) const;
227
228 // Is this klass in the given package?
229 bool is_in_package(const char* packagename) {
230 return is_in_package(packagename, (int) strlen(packagename));
231 }
232 bool is_in_package(const char* packagename, int len);
233
234 // What kind of ciObject is this?
235 bool is_instance_klass() const { return true; }
236 bool is_java_klass() const { return true; }
237
238 virtual ciKlass* exact_klass() {
239 if (is_loaded() && is_final() && !is_interface()) {
240 return this;
241 }
242 return NULL;
243 }
244
245 // Dump the current state of this klass for compilation replay.
246 virtual void dump_replay_data(outputStream* out);
247 };
248
249 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP
|