hotspot/src/cpu/sparc/vm/templateInterpreter_sparc.cpp
changeset 23844 0c29a324ae14
parent 22504 b1837533ba65
child 24018 77b156916bab
equal deleted inserted replaced
23843:9c995f1e7b73 23844:0c29a324ae14
  1145   __ set(_thread_in_Java, G3_scratch);
  1145   __ set(_thread_in_Java, G3_scratch);
  1146   __ st(G3_scratch, thread_state);
  1146   __ st(G3_scratch, thread_state);
  1147 
  1147 
  1148   // reset handle block
  1148   // reset handle block
  1149   __ ld_ptr(G2_thread, JavaThread::active_handles_offset(), G3_scratch);
  1149   __ ld_ptr(G2_thread, JavaThread::active_handles_offset(), G3_scratch);
  1150   __ st_ptr(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes());
  1150   __ st(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes());
  1151 
  1151 
  1152   // If we have an oop result store it where it will be safe for any further gc
  1152   // If we have an oop result store it where it will be safe for any further gc
  1153   // until we return now that we've released the handle it might be protected by
  1153   // until we return now that we've released the handle it might be protected by
  1154 
  1154 
  1155   {
  1155   {