< prev index next >

src/share/vm/oops/fieldStreams.hpp

Print this page




 144   }
 145 
 146   Symbol* generic_signature() const {
 147     if (access_flags().field_has_generic_signature()) {
 148       assert(_generic_signature_slot < _fields->length(), "out of bounds");
 149       int index = _fields->at(_generic_signature_slot);
 150       return _constants->symbol_at(index);
 151     } else {
 152       return NULL;
 153     }
 154   }
 155 
 156   int offset() const {
 157     return field()->offset();
 158   }
 159 
 160   int allocation_type() const {
 161     return field()->allocation_type();
 162   }
 163 








 164   void set_offset(int offset) {
 165     field()->set_offset(offset);
 166   }
 167 
 168   bool is_offset_set() const {
 169     return field()->is_offset_set();
 170   }
 171 
 172   bool is_contended() const {
 173     return field()->is_contended();
 174   }
 175 
 176   int contended_group() const {
 177     return field()->contended_group();
 178   }
 179 
 180   // bridge to a heavier API:
 181   fieldDescriptor& field_descriptor() const {
 182     fieldDescriptor& field = const_cast<fieldDescriptor&>(_fd_buf);
 183     field.reinitialize(field_holder(), _index);




 144   }
 145 
 146   Symbol* generic_signature() const {
 147     if (access_flags().field_has_generic_signature()) {
 148       assert(_generic_signature_slot < _fields->length(), "out of bounds");
 149       int index = _fields->at(_generic_signature_slot);
 150       return _constants->symbol_at(index);
 151     } else {
 152       return NULL;
 153     }
 154   }
 155 
 156   int offset() const {
 157     return field()->offset();
 158   }
 159 
 160   int allocation_type() const {
 161     return field()->allocation_type();
 162   }
 163 
 164   bool is_flatten() {
 165     return field()->is_flatten();
 166   }
 167 
 168   void set_flattening(bool b) {
 169     field()->set_flattening(b);
 170   }
 171 
 172   void set_offset(int offset) {
 173     field()->set_offset(offset);
 174   }
 175 
 176   bool is_offset_set() const {
 177     return field()->is_offset_set();
 178   }
 179 
 180   bool is_contended() const {
 181     return field()->is_contended();
 182   }
 183 
 184   int contended_group() const {
 185     return field()->contended_group();
 186   }
 187 
 188   // bridge to a heavier API:
 189   fieldDescriptor& field_descriptor() const {
 190     fieldDescriptor& field = const_cast<fieldDescriptor&>(_fd_buf);
 191     field.reinitialize(field_holder(), _index);


< prev index next >