< prev index next >

src/share/vm/ci/ciInstanceKlass.hpp

Print this page




 244   bool is_box_klass() const;
 245   bool is_boxed_value_offset(int offset) const;
 246 
 247   // Is this klass in the given package?
 248   bool is_in_package(const char* packagename) {
 249     return is_in_package(packagename, (int) strlen(packagename));
 250   }
 251   bool is_in_package(const char* packagename, int len);
 252 
 253   // What kind of ciObject is this?
 254   bool is_instance_klass() const { return true; }
 255   bool is_java_klass() const     { return true; }
 256 
 257   virtual ciKlass* exact_klass() {
 258     if (is_loaded() && is_final() && !is_interface()) {
 259       return this;
 260     }
 261     return NULL;
 262   }
 263 


 264   // Dump the current state of this klass for compilation replay.
 265   virtual void dump_replay_data(outputStream* out);
 266 };
 267 
 268 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP


 244   bool is_box_klass() const;
 245   bool is_boxed_value_offset(int offset) const;
 246 
 247   // Is this klass in the given package?
 248   bool is_in_package(const char* packagename) {
 249     return is_in_package(packagename, (int) strlen(packagename));
 250   }
 251   bool is_in_package(const char* packagename, int len);
 252 
 253   // What kind of ciObject is this?
 254   bool is_instance_klass() const { return true; }
 255   bool is_java_klass() const     { return true; }
 256 
 257   virtual ciKlass* exact_klass() {
 258     if (is_loaded() && is_final() && !is_interface()) {
 259       return this;
 260     }
 261     return NULL;
 262   }
 263 
 264   bool set_finals() { return get_instanceKlass()->set_finals(); };
 265 
 266   // Dump the current state of this klass for compilation replay.
 267   virtual void dump_replay_data(outputStream* out);
 268 };
 269 
 270 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP
< prev index next >