hotspot/src/share/vm/opto/output.cpp
changeset 33198 b37ad9fbf681
parent 33129 e0bcbb5015b3
parent 33160 c59f1676d27e
child 33451 0712796e4039
equal deleted inserted replaced
33155:73bf16b22e89 33198:b37ad9fbf681
   854     ciMethod* scope_method = method ? method : _method;
   854     ciMethod* scope_method = method ? method : _method;
   855     // Describe the scope here
   855     // Describe the scope here
   856     assert(jvms->bci() >= InvocationEntryBci && jvms->bci() <= 0x10000, "must be a valid or entry BCI");
   856     assert(jvms->bci() >= InvocationEntryBci && jvms->bci() <= 0x10000, "must be a valid or entry BCI");
   857     assert(!jvms->should_reexecute() || depth == max_depth, "reexecute allowed only for the youngest");
   857     assert(!jvms->should_reexecute() || depth == max_depth, "reexecute allowed only for the youngest");
   858     // Now we can describe the scope.
   858     // Now we can describe the scope.
   859     debug_info()->describe_scope(safepoint_pc_offset, scope_method, jvms->bci(), jvms->should_reexecute(), is_method_handle_invoke, return_oop, locvals, expvals, monvals);
   859     methodHandle null_mh;
       
   860     bool rethrow_exception = false;
       
   861     debug_info()->describe_scope(safepoint_pc_offset, null_mh, scope_method, jvms->bci(), jvms->should_reexecute(), rethrow_exception, is_method_handle_invoke, return_oop, locvals, expvals, monvals);
   860   } // End jvms loop
   862   } // End jvms loop
   861 
   863 
   862   // Mark the end of the scope set.
   864   // Mark the end of the scope set.
   863   debug_info()->end_safepoint(safepoint_pc_offset);
   865   debug_info()->end_safepoint(safepoint_pc_offset);
   864 }
   866 }
   937   // Visit scopes from oldest to youngest.
   939   // Visit scopes from oldest to youngest.
   938   for (int depth = 1; depth <= max_depth; depth++) {
   940   for (int depth = 1; depth <= max_depth; depth++) {
   939     JVMState* jvms = youngest_jvms->of_depth(depth);
   941     JVMState* jvms = youngest_jvms->of_depth(depth);
   940     ciMethod* method = jvms->has_method() ? jvms->method() : NULL;
   942     ciMethod* method = jvms->has_method() ? jvms->method() : NULL;
   941     assert(!jvms->should_reexecute() || depth==max_depth, "reexecute allowed only for the youngest");
   943     assert(!jvms->should_reexecute() || depth==max_depth, "reexecute allowed only for the youngest");
   942     debug_info->describe_scope(pc_offset, method, jvms->bci(), jvms->should_reexecute());
   944     methodHandle null_mh;
       
   945     debug_info->describe_scope(pc_offset, null_mh, method, jvms->bci(), jvms->should_reexecute());
   943   }
   946   }
   944 
   947 
   945   // Mark the end of the scope set.
   948   // Mark the end of the scope set.
   946   debug_info->end_non_safepoint(pc_offset);
   949   debug_info->end_non_safepoint(pc_offset);
   947 }
   950 }