231 fatal("Setting contended group for the blank field");
232 case FIELDINFO_TAG_OFFSET:
233 fatal("Setting contended group for field with offset");
234 #endif
235 }
236 ShouldNotReachHere();
237 }
238
239 bool is_internal() const {
240 return (access_flags() & JVM_ACC_FIELD_INTERNAL) != 0;
241 }
242
243 bool is_stable() const {
244 return (access_flags() & JVM_ACC_FIELD_STABLE) != 0;
245 }
246 void set_stable(bool z) {
247 if (z) _shorts[access_flags_offset] |= JVM_ACC_FIELD_STABLE;
248 else _shorts[access_flags_offset] &= ~JVM_ACC_FIELD_STABLE;
249 }
250
251 Symbol* lookup_symbol(int symbol_index) const {
252 assert(is_internal(), "only internal fields");
253 return vmSymbols::symbol_at((vmSymbols::SID)symbol_index);
254 }
255 };
256
257 #endif // SHARE_OOPS_FIELDINFO_HPP
|
231 fatal("Setting contended group for the blank field");
232 case FIELDINFO_TAG_OFFSET:
233 fatal("Setting contended group for field with offset");
234 #endif
235 }
236 ShouldNotReachHere();
237 }
238
239 bool is_internal() const {
240 return (access_flags() & JVM_ACC_FIELD_INTERNAL) != 0;
241 }
242
243 bool is_stable() const {
244 return (access_flags() & JVM_ACC_FIELD_STABLE) != 0;
245 }
246 void set_stable(bool z) {
247 if (z) _shorts[access_flags_offset] |= JVM_ACC_FIELD_STABLE;
248 else _shorts[access_flags_offset] &= ~JVM_ACC_FIELD_STABLE;
249 }
250
251 #if INCLUDE_TSAN
252 bool is_tsan_ignore() const {
253 return (access_flags() & JVM_ACC_FIELD_TSAN_IGNORE) != 0;
254 }
255 void set_tsan_ignore(bool z) {
256 if (z) _shorts[access_flags_offset] |= JVM_ACC_FIELD_TSAN_IGNORE;
257 else _shorts[access_flags_offset] &= ~JVM_ACC_FIELD_TSAN_IGNORE;
258 }
259 #endif // INCLUDE_TSAN
260
261 Symbol* lookup_symbol(int symbol_index) const {
262 assert(is_internal(), "only internal fields");
263 return vmSymbols::symbol_at((vmSymbols::SID)symbol_index);
264 }
265 };
266
267 #endif // SHARE_OOPS_FIELDINFO_HPP
|