< prev index next >

src/hotspot/share/oops/cpCache.hpp

Print this page

176   void print_resolved_field_entries(outputStream* st) const;
177 
178   Array<ResolvedIndyEntry>* resolved_indy_entries()          { return _resolved_indy_entries; }
179   inline ResolvedIndyEntry* resolved_indy_entry_at(int index) const;
180   inline int resolved_indy_entries_length() const;
181   void print_resolved_indy_entries(outputStream* st)   const;
182 
183   Array<ResolvedMethodEntry>* resolved_method_entries()          { return _resolved_method_entries; }
184   inline ResolvedMethodEntry* resolved_method_entry_at(int method_index) const;
185   inline int resolved_method_entries_length() const;
186   void print_resolved_method_entries(outputStream* st) const;
187 
188   // Assembly code support
189   static ByteSize resolved_references_offset()     { return byte_offset_of(ConstantPoolCache, _resolved_references);     }
190   static ByteSize invokedynamic_entries_offset()   { return byte_offset_of(ConstantPoolCache, _resolved_indy_entries);   }
191   static ByteSize field_entries_offset()           { return byte_offset_of(ConstantPoolCache, _resolved_field_entries);  }
192   static ByteSize method_entries_offset()          { return byte_offset_of(ConstantPoolCache, _resolved_method_entries); }
193 
194 #if INCLUDE_CDS
195   void remove_unshareable_info();
196   void save_for_archive(TRAPS);
197 #endif
198 
199  public:
200   static int size() { return align_metadata_size(sizeof(ConstantPoolCache) / wordSize); }
201 
202  private:
203 
204   // Helpers
205   ConstantPool**        constant_pool_addr()     { return &_constant_pool; }
206 
207  public:
208   // Accessors
209   void set_constant_pool(ConstantPool* pool)   { _constant_pool = pool; }
210   ConstantPool* constant_pool() const          { return _constant_pool; }
211 
212   // Code generation
213   static ByteSize base_offset()                  { return in_ByteSize(sizeof(ConstantPoolCache)); }
214 
215 #if INCLUDE_JVMTI
216   // RedefineClasses() API support:

176   void print_resolved_field_entries(outputStream* st) const;
177 
178   Array<ResolvedIndyEntry>* resolved_indy_entries()          { return _resolved_indy_entries; }
179   inline ResolvedIndyEntry* resolved_indy_entry_at(int index) const;
180   inline int resolved_indy_entries_length() const;
181   void print_resolved_indy_entries(outputStream* st)   const;
182 
183   Array<ResolvedMethodEntry>* resolved_method_entries()          { return _resolved_method_entries; }
184   inline ResolvedMethodEntry* resolved_method_entry_at(int method_index) const;
185   inline int resolved_method_entries_length() const;
186   void print_resolved_method_entries(outputStream* st) const;
187 
188   // Assembly code support
189   static ByteSize resolved_references_offset()     { return byte_offset_of(ConstantPoolCache, _resolved_references);     }
190   static ByteSize invokedynamic_entries_offset()   { return byte_offset_of(ConstantPoolCache, _resolved_indy_entries);   }
191   static ByteSize field_entries_offset()           { return byte_offset_of(ConstantPoolCache, _resolved_field_entries);  }
192   static ByteSize method_entries_offset()          { return byte_offset_of(ConstantPoolCache, _resolved_method_entries); }
193 
194 #if INCLUDE_CDS
195   void remove_unshareable_info();

196 #endif
197 
198  public:
199   static int size() { return align_metadata_size(sizeof(ConstantPoolCache) / wordSize); }
200 
201  private:
202 
203   // Helpers
204   ConstantPool**        constant_pool_addr()     { return &_constant_pool; }
205 
206  public:
207   // Accessors
208   void set_constant_pool(ConstantPool* pool)   { _constant_pool = pool; }
209   ConstantPool* constant_pool() const          { return _constant_pool; }
210 
211   // Code generation
212   static ByteSize base_offset()                  { return in_ByteSize(sizeof(ConstantPoolCache)); }
213 
214 #if INCLUDE_JVMTI
215   // RedefineClasses() API support:
< prev index next >