< prev index next >

src/hotspot/share/ci/ciObjectFactory.hpp

Print this page

 90 
 91 public:
 92   static bool is_initialized() { return _initialized; }
 93 
 94   static void initialize();
 95   void init_shared_objects();
 96   void remove_symbols();
 97 
 98   ciObjectFactory(Arena* arena, int expected_size);
 99 
100   // Get the ciObject corresponding to some oop.
101   ciObject* get(oop key);
102   ciMetadata* get_metadata(Metadata* key);
103   ciMetadata* cached_metadata(Metadata* key);
104   ciSymbol* get_symbol(Symbol* key);
105 
106   // Get the ciSymbol corresponding to one of the vmSymbols.
107   static ciSymbol* vm_symbol_at(vmSymbolID index);
108 
109   // Called on every new object made.
110   void notice_new_object(ciBaseObject* new_object);
111 
112   // Get the ciMethod representing an unloaded/unfound method.
113   ciMethod* get_unloaded_method(ciInstanceKlass* holder,
114                                 ciSymbol*        name,
115                                 ciSymbol*        signature,
116                                 ciInstanceKlass* accessor);
117 
118   // Get a ciKlass representing an unloaded klass.
119   ciKlass* get_unloaded_klass(ciKlass* accessing_klass,
120                               ciSymbol* name,
121                               bool create_if_not_found);
122 
123   // Get a ciInstance representing an unresolved klass mirror.
124   ciInstance* get_unloaded_klass_mirror(ciKlass* type);
125 
126   // Get a ciInstance representing an unresolved method handle constant.
127   ciInstance* get_unloaded_method_handle_constant(ciKlass*  holder,
128                                                   ciSymbol* name,
129                                                   ciSymbol* signature,
130                                                   int       ref_kind);

 90 
 91 public:
 92   static bool is_initialized() { return _initialized; }
 93 
 94   static void initialize();
 95   void init_shared_objects();
 96   void remove_symbols();
 97 
 98   ciObjectFactory(Arena* arena, int expected_size);
 99 
100   // Get the ciObject corresponding to some oop.
101   ciObject* get(oop key);
102   ciMetadata* get_metadata(Metadata* key);
103   ciMetadata* cached_metadata(Metadata* key);
104   ciSymbol* get_symbol(Symbol* key);
105 
106   // Get the ciSymbol corresponding to one of the vmSymbols.
107   static ciSymbol* vm_symbol_at(vmSymbolID index);
108 
109   // Called on every new object made.
110   void notice_object_access(ciBaseObject* new_object);
111 
112   // Get the ciMethod representing an unloaded/unfound method.
113   ciMethod* get_unloaded_method(ciInstanceKlass* holder,
114                                 ciSymbol*        name,
115                                 ciSymbol*        signature,
116                                 ciInstanceKlass* accessor);
117 
118   // Get a ciKlass representing an unloaded klass.
119   ciKlass* get_unloaded_klass(ciKlass* accessing_klass,
120                               ciSymbol* name,
121                               bool create_if_not_found);
122 
123   // Get a ciInstance representing an unresolved klass mirror.
124   ciInstance* get_unloaded_klass_mirror(ciKlass* type);
125 
126   // Get a ciInstance representing an unresolved method handle constant.
127   ciInstance* get_unloaded_method_handle_constant(ciKlass*  holder,
128                                                   ciSymbol* name,
129                                                   ciSymbol* signature,
130                                                   int       ref_kind);
< prev index next >