comparison src/cpu/x86/vm/templateInterpreter_x86_64.cpp @ 22460:f27c163d7dc2

moved JVMCI fields from ThreadShadow to Thread
author Doug Simon <doug.simon@oracle.com>
date Mon, 24 Aug 2015 22:35:47 +0200
parents c28cb37b2e1d
children b5f3a471e646
comparison
equal deleted inserted replaced
22459:0dd2b79625b3 22460:f27c163d7dc2
206 __ restore_locals(); 206 __ restore_locals();
207 #if INCLUDE_JVMCI 207 #if INCLUDE_JVMCI
208 // Check if we need to take lock at entry of synchronized method. 208 // Check if we need to take lock at entry of synchronized method.
209 { 209 {
210 Label L; 210 Label L;
211 __ cmpb(Address(r15_thread, Thread::pending_monitorenter_offset()), 0); 211 __ cmpb(Address(r15_thread, JavaThread::pending_monitorenter_offset()), 0);
212 __ jcc(Assembler::zero, L); 212 __ jcc(Assembler::zero, L);
213 // Clear flag. 213 // Clear flag.
214 __ movb(Address(r15_thread, Thread::pending_monitorenter_offset()), 0); 214 __ movb(Address(r15_thread, JavaThread::pending_monitorenter_offset()), 0);
215 // Satisfy calling convention for lock_method(). 215 // Satisfy calling convention for lock_method().
216 __ get_method(rbx); 216 __ get_method(rbx);
217 // Take lock. 217 // Take lock.
218 lock_method(); 218 lock_method();
219 __ bind(L); 219 __ bind(L);