void set_next(Oop *p, bool by_ref) { if (by_ref) { obj_field_put(next_by_ref_offset(), p); } else { obj_field_put(next_by_id_offset(), p); } }
void set_data_buffer(Oop *val) { if (on_native_heap()) { *obj()->obj_field_addr(data_buffer_offset()) = val->obj(); return; } obj_field_put(data_buffer_offset(), val); }
void set_class_info(ClassInfo* value) { obj_field_put(class_info_offset(), value); }
void set_message(Oop* value) { obj_field_put(message_offset(), value); }
void ConstantPool::resolved_static_method_at_put(int index, Oop* m) { tag_at_put(index, JVM_CONSTANT_ResolvedStaticMethod); obj_field_put(offset_from_index(index), m); }
void vtable_at_put(int index, OopDesc* value) { obj_field_put(vtable_offset_from_index(index), value); }
void set_constants(Oop* value) { obj_field_put(constants_offset(), value); }
void set_fields(TypeArray* value) { obj_field_put(fields_offset(), (Oop*)value); }
void set_name(Symbol* value) { obj_field_put(name_offset(), (Oop*)value); }
void set_previous(Thread* value) { obj_field_put(previous_offset(), value); }
void set_global_next(Thread* value) { obj_field_put(global_next_offset(), value); }
void set_next(Thread* value) { obj_field_put(next_offset(), value); }
void set_cached_async_info(TypeArray* value) { obj_field_put (cached_async_info_offset(), (Oop*)value); }
void set_execution_stack(Oop* value) { obj_field_put(execution_stack_offset(), value); }
void set_pending_entries(Oop* value) { obj_field_put(pending_entries_offset(), value); }
void set_noncurrent_pending_exception(Oop* value) { must_not_be_current_thread(); obj_field_put(pending_exception_offset(), value); }
inline void oopDesc::obj_field_put_volatile(int offset, oop value) { OrderAccess::release(); obj_field_put(offset, value); OrderAccess::fence(); }
void set_next_waiting(Thread* value) { obj_field_put(next_waiting_offset(), value); }
void set_methods(ObjArray* value) { obj_field_put(methods_offset(), (Oop*)value); }
void set_wait_obj(Oop* value) { obj_field_put(wait_obj_offset(), value); }
void set_inner_classes(TypeArray* value) { obj_field_put(inner_classes_offset(), value); }
void set_step_info(Oop *p) { obj_field_put(step_info_offset(), p); }
void set_local_interfaces(TypeArray* value) { obj_field_put(local_interfaces_offset(), (Oop*)value); }
void set_profiler_info(OopDesc* value) { obj_field_put(profiler_info_offset(), value); }
void set_thread(Oop* value) { GUARANTEE(is_unstarted(), "thread should not be started yet"); obj_field_put(thread_offset(), value); }
void set_next(Oop * p) {obj_field_put(next_offset(), p);}
void Thread::set_thread_obj(ThreadObj* value) { obj_field_put(thread_obj_offset(), value); if (value->not_null()) value->set_thread(this); }
void set_data(Oop * p) {obj_field_put(data_offset(), p);}
void set_backtrace(Oop* value) { obj_field_put(backtrace_offset(), value); }
void set_frame(VirtualStackFrame* value) { obj_field_put(frame_offset(), value); }