--- old/src/share/vm/c1/c1_IR.cpp 2011-12-15 13:30:40.853832860 +0100 +++ new/src/share/vm/c1/c1_IR.cpp 2011-12-15 13:30:40.660151623 +0100 @@ -187,7 +187,8 @@ , _oop_map(NULL) , _stack(stack) , _exception_handlers(exception_handlers) - , _is_method_handle_invoke(false) { + , _is_method_handle_invoke(false) + , _is_profiled_call(false) { assert(_stack != NULL, "must be non null"); } @@ -198,7 +199,8 @@ , _scope_debug_info(NULL) , _oop_map(NULL) , _stack(stack == NULL ? info->_stack : stack) - , _is_method_handle_invoke(info->_is_method_handle_invoke) { + , _is_method_handle_invoke(info->_is_method_handle_invoke) + , _is_profiled_call(false) { // deep copy of exception handlers if (info->_exception_handlers != NULL) { @@ -210,7 +212,7 @@ void CodeEmitInfo::record_debug_info(DebugInformationRecorder* recorder, int pc_offset) { // record the safepoint before recording the debug info for enclosing scopes recorder->add_safepoint(pc_offset, _oop_map->deep_copy()); - _scope_debug_info->record_debug_info(recorder, pc_offset, true/*topmost*/, _is_method_handle_invoke); + _scope_debug_info->record_debug_info(recorder, pc_offset, true/*topmost*/, _is_method_handle_invoke, is_profiled_call()); recorder->end_safepoint(pc_offset); }