void clear_thread() { GUARANTEE(is_terminated(), "Thread should be terminated"); obj_field_clear(thread_offset()); }
void clear_wait_obj() { obj_field_clear(wait_obj_offset()); }
void vtable_at_clear(int index) { obj_field_clear(vtable_offset_from_index(index)); }
void clear_previous() { obj_field_clear(previous_offset()); }
void clear_next_waiting() { obj_field_clear(next_waiting_offset()); }
void clear_next() { obj_field_clear(next_offset()); }
void clear_global_next() { obj_field_clear(global_next_offset()); }
void clear_thread_obj() { obj_field_clear(thread_obj_offset()); }
void clear_async_info() { obj_field_clear(async_info_offset()); }
void clear_execution_stack() { obj_field_clear(execution_stack_offset()); }
void clear_noncurrent_pending_exception() { must_not_be_current_thread(); obj_field_clear(pending_exception_offset()); }
void clear_mods() { obj_field_clear(mods_offset()); }
void clear_next_in_clinit_list( void ) { obj_field_clear(next_in_clinit_list_offset()); }
void clear_init_thread() { obj_field_clear(init_thread_offset()); }