Lines Matching defs:thread
744 // Write serialization page so VM thread can do a pseudo remote membar
745 // We use the current thread pointer to calculate a thread specific
748 void MacroAssembler::serialize_memory(Register thread, Register tmp1, Register tmp2) {
749 srl(thread, os::get_serialize_page_shift_count(), tmp2);
858 return ThreadLocalStorage::thread();
861 #define reinitialize_thread ThreadLocalStorage::thread
891 Thread* correct_value = ThreadLocalStorage::thread();
892 guarantee(gthread_value == correct_value, "G2_thread value must be the thread");
1071 delayed()->mov(G2_thread, O0); // pass thread as first argument
1073 delayed()->nop(); // (thread already passed)
1088 // get oop result if there is one and reset the value in the thread
1125 // O0 is reserved for the thread
1132 // O0 is reserved for the thread
1140 // O0 is reserved for the thread
1161 // O0 is reserved for the thread
1168 // O0 is reserved for the thread
1176 // O0 is reserved for the thread
3331 // See whether the lock is currently biased toward our thread and
3374 // toward the current thread. Note that we must be absolutely sure
3386 // don't accidentally blow away another thread's valid bias.
3392 // If the biasing toward our thread failed, this means that
3393 // another thread succeeded in biasing it toward itself and we
3412 // the bias from one thread to another directly in this situation.
3420 // If the biasing toward our thread failed, this means that
3421 // another thread succeeded in biasing it toward itself and we
3440 // that another thread raced us for the privilege of revoking the
3450 // the result of the above CAS, some thread must have succeeded in
3463 // Note: we do not have to check the thread ID for two reasons.
3466 // lock, the object could not be rebiased toward another thread, so
3835 // the on-stack basiclock box. That admits a race where a thread T2
3837 // thread T1 in the fast unlock path, resulting in a missed wakeup for T2.
4188 // Bump total bytes allocated by this thread