hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 46727 6e4a84748e2c
parent 46560 388aa8d67c80
child 46968 9119841280f4
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
  1406   thread->popframe_preserve_args(in_ByteSize(bytes_to_save), start_address);
  1406   thread->popframe_preserve_args(in_ByteSize(bytes_to_save), start_address);
  1407 }
  1407 }
  1408 JRT_END
  1408 JRT_END
  1409 
  1409 
  1410 MethodData*
  1410 MethodData*
  1411 Deoptimization::get_method_data(JavaThread* thread, methodHandle m,
  1411 Deoptimization::get_method_data(JavaThread* thread, const methodHandle& m,
  1412                                 bool create_if_missing) {
  1412                                 bool create_if_missing) {
  1413   Thread* THREAD = thread;
  1413   Thread* THREAD = thread;
  1414   MethodData* mdo = m()->method_data();
  1414   MethodData* mdo = m()->method_data();
  1415   if (mdo == NULL && create_if_missing && !HAS_PENDING_EXCEPTION) {
  1415   if (mdo == NULL && create_if_missing && !HAS_PENDING_EXCEPTION) {
  1416     // Build an MDO.  Ignore errors like OutOfMemory;
  1416     // Build an MDO.  Ignore errors like OutOfMemory;