Go to the source code of this file.
Defines | |
#define | DEBUG_EXCEPTION _asm { int 3 } |
#define | FILE_INFO __FILE__ |
#define | LINE_INFO __LINE__ |
#define | assert(b, msg) |
#define | fatal(m) { report_fatal(FILE_INFO, LINE_INFO, m ); DEBUG_EXCEPTION; } |
#define | fatal1(m, x1) { report_fatal(FILE_INFO, LINE_INFO, m, x1 ); DEBUG_EXCEPTION; } |
#define | fatal2(m, x1, x2) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2 ); DEBUG_EXCEPTION; } |
#define | fatal3(m, x1, x2, x3) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3 ); DEBUG_EXCEPTION; } |
#define | fatal4(m, x1, x2, x3, x4) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4 ); DEBUG_EXCEPTION; } |
#define | fatal5(m, x1, x2, x3, x4, x5) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5 ); DEBUG_EXCEPTION; } |
#define | fatal6(m, x1, x2, x3, x4, x5, x6) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6 ); DEBUG_EXCEPTION; } |
#define | fatal7(m, x1, x2, x3, x4, x5, x6, x7) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7 ); DEBUG_EXCEPTION; } |
#define | fatal8(m, x1, x2, x3, x4, x5, x6, x7, x8) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7, x8 ); DEBUG_EXCEPTION; } |
#define | fatal9(m, x1, x2, x3, x4, x5, x6, x7, x8, x9) { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7, x8, x9); DEBUG_EXCEPTION; } |
#define | guarantee(b, msg) { if (!(b)) fatal(msg); } |
#define | ShouldNotCallThis() { report_should_not_call (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
#define | ShouldNotReachHere() { report_should_not_reach_here (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
#define | SubclassResponsibility() { report_subclass_responsibility(FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
#define | Unimplemented() { report_unimplemented (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
Functions | |
void | report_assertion_failure (char *code_str, char *file_name, int line_no, char *message) |
void | report_fatal (char *file_name, int line_no, char *format,...) |
void | report_should_not_call (char *file_name, int line_no) |
void | report_should_not_reach_here (char *file_name, int line_no) |
void | report_subclass_responsibility (char *file_name, int line_no) |
void | report_unimplemented (char *file_name, int line_no) |
void | report_vm_state () |
void | breakpoint () |
void | error_breakpoint () |
#define assert | ( | b, | |||
msg | ) |
Definition at line 43 of file error.hpp.
Referenced by symbolTable::add(), ageTable::add(), Klass::add_classVar(), mixinOopDesc::add_instVar(), InliningDatabase::add_lookup_entry(), mixinOopDesc::add_method(), Klass::add_method(), Address::Address(), InterpretedIC_Iterator::advance(), Interpreter_PICs::allocate(), ResourceArea::allocate_bytes(), StubRoutines::allocate_entry(), ResourceArea::allocate_more_bytes(), doubleKlass::allocateObject(), byteArrayKlass::allocateObject(), InterpreterGenerator::arg_addr(), IntegerOps::as_char(), Integer::as_double(), Handle::as_klass(), as_memOop(), Handle::as_memOop(), Handle::as_objArray(), InterpretedDLL_Cache::async(), GrowableArray< messageNode * >::at(), GrowableArray< messageNode * >::at_grow(), GrowableArray< messageNode * >::at_put(), GrowableArray< messageNode * >::at_put_grow(), symbolTable::basic_add(), StackChunkBuilder::begin_deoptimization(), Assembler::bind(), Label::bind_to(), Assembler::bind_to(), symbolTable::bucketFor(), byteArrayOopDesc::byte_at_addr(), byteArrayConverter::byteArrayConverter(), byteOffset(), Assembler::call(), contextOopDesc::chain_length(), Universe::classes_do(), InterpretedIC::cleanup(), InterpretedIC::clear(), frame::code(), CodeIterator::CodeIterator(), space::compact(), lookupCache::compile_method(), memConverter::compute_mapping(), methodKlass::constructMethod(), scopeNode::context_allocated(), StackChunkBuilder::context_at_put(), interpretedVFrame::context_temp_at(), Reflection::convert_object(), byteArrayOopDesc::copy_c_heap_null_terminated(), byteArrayOopDesc::copy_null_terminated(), copy_oops_down(), memOopDesc::copy_to_survivor_space(), Klass::create_generic_class(), memOopKlass::create_subclass(), frame::current_interpretedIC(), CodeIterator::customize_class_var_code(), CodeIterator::customize_inst_var_code(), methodOopDesc::decay_invocation_count(), TempDecoder::decode(), Bytecodes::def(), blockClosureOopDesc::deoptimize(), deoptimize_block(), deoptimize_context_and_patch_block(), MethodIterator::dispatch(), InterpretedIC::does_not_understand(), doubleValueArrayOopDesc::double_at_addr(), doubleByteArrayOopDesc::doubleByte_at_addr(), doubleByteArrayConverter::doubleByteArrayConverter(), doubleValueArrayConverter::doubleValueArrayConverter(), Assembler::emit_arith(), Assembler::emit_arith_b(), Assembler::emit_byte(), Assembler::emit_farith(), Assembler::emit_operand(), methodOopDesc::enclosing_method_selector(), StackChunkBuilder::end_deoptimization(), LookupResult::entry(), VirtualSpace::expand(), oldGeneration::expand(), interpretedVFrame::expression_stack(), ExternalCallNode::ExternalCallNode(), factorial(), InterpreterGenerator::field_addr(), GrowableArray< messageNode * >::first(), MethodClosure::float_at(), methodOopDesc::float_offset(), memOopDesc::follow_contents(), frame::follow_roots_interpreted_float_frame(), memOopDesc::forward_to(), frame::frame_array(), frame::frame_array_addr(), ResourceAreaChunk::freeTo(), Floats::function_name_for(), memOopDesc::gc_store_size(), generate(), StubRoutines::generate_lookup_DLL(), StubRoutines::generate_PIC_stub(), GenericGrowableArray::GenericGrowableArray(), Universe::genesis(), NotificationQueue::get(), bootstrap::get_integer(), Interpreter::get_invocation_counter_limit(), handleCallBack(), Klass::has_same_layout_as(), hash(), Assembler::ic_info(), oopDesc::identity_hash(), Bytecodes::init(), Displacement::init(), InterpretedIC_Iterator::init_iteration(), space::initialize(), callBack::initialize(), IntegerOps::Integer_to_string(), InterpretedIC_Iterator::interpreted_method(), interpretedVFrame::interpreter_context(), interpreter_super_lookup(), TempDecoder::is_heap_parameter(), mixinOopDesc::is_installed(), Klass::is_method_holder_for(), rSet::is_object_dirty(), InterpreterStatistics::ith_bytecode_to_generate(), Assembler::jcc(), Assembler::jmp(), InterpretedIC::jump_table_entry(), oopDesc::klass(), klassConverter::klassConverter(), GrowableArray< messageNode * >::last(), codeNode::last_statement(), DeltaProcess::launch_delta(), objArrayOopDesc::length(), doubleValueArrayOopDesc::length(), doubleByteArrayOopDesc::length(), byteArrayOopDesc::length(), Label::link_to(), Klass::local_lookup(), Klass::local_lookup_class_var(), primitives::lookup(), lookupCache::lookup(), primitives::lookup_and_patch(), DLLs::lookup_and_patch_CompiledDLL_Cache(), DLLs::lookup_and_patch_InterpretedDLL_Cache(), DLLs::lookup_fail(), lookupCache::lookup_probe(), VMProcess::loop(), MarkSweep::mark_sweep_phase1(), interpretedVFrame::method(), LookupResult::method(), LookupKey::method(), frame::method(), blockClosureOopDesc::method(), MethodSweeper::method_dict_task(), Universe::methods_in_array_do(), mixinConverter::mixinConverter(), oopFactory::new_association(), Resources::new_chunk(), vframe::new_vframe(), InterpretedIC::nof_arguments(), lookupCache::normal_lookup(), Register::number(), methodOopDesc::number_of_arguments(), byteArrayOopDesc::number_of_arguments(), InterpretedPrim_Cache::number_of_parameters(), PrimitiveCallNode::number_of_parameters(), objArrayOopDesc::obj_at(), objArrayOopDesc::obj_at_put(), objArrayConverter::objArrayConverter(), oldSpace::object_start(), newSpace::object_start(), Handles::oop_at(), methodKlass::oop_print_on(), contextKlass::oop_print_on(), methodKlass::oop_print_value_on(), contextKlass::oop_print_value_on(), klassKlass::oop_verify(), Interpreter::oopify_FloatValue(), CHeapObj::operator delete(), rSet::operator new(), contextOopDesc::outer_context(), primitive_desc::parameter_type(), InterpretedIC::pic_array(), StubRoutines::PIC_stub_entry(), GrowableArray< messageNode * >::pop(), PRIM_DECL_0(), PRIM_DECL_1(), PRIM_DECL_2(), PRIM_DECL_3(), PrimitiveCallNode::PrimitiveCallNode(), frame::print_for_deoptimization(), contextOopDesc::print_home_on(), processConverter::processConverter(), proxyConverter::proxyConverter(), Handles::push_oop(), Assembler::rcll(), interpretedVFrame::receiver(), FlatProfiler::record_tick_for_calling_frame(), FlatProfiler::record_tick_for_running_frame(), CodeIterator::recustomize_class_var_code(), CodeIterator::recustomize_inst_var_code(), Reflection::register_class_changes(), InterpretedIC::replace(), ReservedSpace::ReservedSpace(), ResourceMark::ResourceMark(), MarkSweep::reverse(), rSet::rSet(), Assembler::sarl(), scan_key(), Universe::scavenge(), memOopDesc::scavenge(), Universe::scavenge_and_allocate(), rSet::scavenge_contents(), oldSpace::scavenge_contents_from(), survivorSpace::scavenge_contents_from(), InterpretedIC::selector(), vframe::sender(), frame::sender(), LookupResult::set(), markOopDesc::set_age(), Bytecodes::set_entry_point(), markOopDesc::set_hash(), contextOopDesc::set_home_fp(), Interpreter::set_invocation_counter_limit(), blockClosureOopDesc::set_jumpAddr(), InterpretedIC_Iterator::set_klass(), Interpreter::set_loop_counter_limit(), MethodClosure::set_method(), InterpretedIC_Iterator::set_method(), processOopDesc::set_process(), rSet::set_size(), Handles::set_top(), contextOopDesc::set_unoptimized_context(), set_unsigned_bitfield(), Klass::set_vtbl_value(), ClassChange::setup_schema_change(), Assembler::shll(), VirtualSpace::shrink(), Assembler::shrl(), evaluator::single_step(), MacroAssembler::store_check(), DeltaProcess::suspend(), Universe::switch_pointers(), symbolTable::switch_pointers(), MethodSweeper::task(), InterpreterGenerator::temp_addr(), interpretedVFrame::temp_at(), VMProcess::terminate(), StubRoutines::trace_DLL_call_1(), DeltaProcess::transfer(), DeltaProcess::transfer_and_continue(), DeltaProcess::transfer_to(), DeltaProcess::transfer_to_vm(), CodeIterator::uncustomize_class_var_code(), CodeIterator::uncustomize_inst_var_code(), unfactorial(), InliningDatabase::unmangle_name(), contextOopDesc::unoptimized_context(), callBack::unregister(), unwindInfo::unwindInfo(), InterpretedIC::update_inline_cache(), oldSpace::update_offset_array(), validateContextChain(), oldSpace::verify(), newSpace::verify(), VMProcess::VMProcess(), IntegerOps::xmy(), IntegerOps::xpy(), Label::~Label(), and ResourceMark::~ResourceMark().
#define DEBUG_EXCEPTION _asm { int 3 } |
#define fatal | ( | m | ) | { report_fatal(FILE_INFO, LINE_INFO, m ); DEBUG_EXCEPTION; } |
Definition at line 47 of file error.hpp.
Referenced by Bytecodes::access_send_code_for(), astNode::add(), oldGeneration::allocate_in_next_space(), doubleValueArrayKlass::allocateObject(), doubleByteArrayKlass::allocateObject(), byteArrayKlass::allocateObject(), IntegerOps::as_Digit(), blockClosureKlass::blockKlassFor(), Delta::call_generic(), vframe::callee_argument_at(), check(), Universe::check_root(), InterpretedIC_Iterator::compiled_method(), Bytecodes::compiled_send_code_for(), ClassChange::create_converter_for(), os::create_event(), InterpretedIC::does_not_understand(), PeriodicTask::enroll(), SnapshotDesc::error(), VMProcess::execute(), VirtualSpace::expand(), oldGeneration::expand(), SavedRegisters::fetch(), methodOopDesc::fileout_body(), ReservedSpace::first_part(), Reflection::forward(), Universe::genesis(), bootstrap::get_integer(), bootstrap::get_object(), GenericGrowableArray::grow(), InterpretedPrim_Cache::has_failure_code(), InterpretedPrim_Cache::has_receiver(), IfNode::IfNode(), Floats::init(), VirtualSpace::initialize(), Bytecodes::interpreted_send_code_for(), interpreter_super_lookup(), invocation_counter_overflow(), ReservedSpace::last_part(), primitives::lookup_and_patch(), Bytecodes::megamorphic_send_code_for(), InterpretedPrim_Cache::name(), ClassChange::new_class_from(), blockClosureKlass::number_of_arguments(), newSpace::object_start(), Klass::oop_follow_contents(), Klass::oop_layout_iterate(), Klass::oop_oop_iterate(), Klass::oop_print_on(), Klass::oop_scavenge_contents(), Klass::oop_scavenge_tenured_contents(), operator new(), Bytecodes::original_primitive_call_code_for(), InterpretedPrim_Cache::pdesc(), Bytecodes::polymorphic_send_code_for(), PRIM_DECL_1(), Bytecodes::primitive_call_code_for(), Bytecodes::primitive_send_code_for(), primitive_desc::print(), evaluator::process_line(), OldWaterMark::pseudo_allocate(), CustomizedMethodClosure::push_classVar_name(), CustomizedMethodClosure::push_instVar_name(), IntegerOps::qr_decomposition(), bootstrap::read_mark(), CodeIterator::recustomize_inst_var_code(), InterpretedIC::replace(), survivorSpace::scavenge_contents_from(), MethodIterator::should_never_encounter(), VirtualSpace::shrink(), CustomizedMethodClosure::store_classVar_name(), CustomizedMethodClosure::store_instVar_name(), space::switch_pointers(), CodeIterator::uncustomize_inst_var_code(), MethodIterator::unknown_code(), IntegerOps::unsigned_sub(), primitives::verified_lookup(), NativeTest::verify(), NativeMov::verify(), NativeCall::verify(), cacheElement::verify(), frame::verify(), CompiledDLL_Cache::verify(), InterpretedDLL_Cache::verify(), verifyMethod(), verifyPIC(), WhileNode::WhileNode(), StubRoutines::wrong_DLL_call(), Interpreter::wrong_eax(), Interpreter::wrong_ebx(), Interpreter::wrong_esp(), Interpreter::wrong_obj(), Interpreter::wrong_primitive_result(), StackChecker::~StackChecker(), VerifyNoAllocation::~VerifyNoAllocation(), and VerifyNoScavenge::~VerifyNoScavenge().
#define fatal1 | ( | m, | |||
x1 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1 ); DEBUG_EXCEPTION; } |
Definition at line 48 of file error.hpp.
Referenced by MethodPrettyPrinter::method_return(), missing_code_for(), MethodPrettyPrinter::nonlocal_return(), and CompiledDLL_Cache::verify().
#define fatal2 | ( | m, | |||
x1, | |||||
x2 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2 ); DEBUG_EXCEPTION; } |
#define fatal3 | ( | m, | |||
x1, | |||||
x2, | |||||
x3 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3 ); DEBUG_EXCEPTION; } |
#define fatal4 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4 ); DEBUG_EXCEPTION; } |
#define fatal5 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4, | |||||
x5 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5 ); DEBUG_EXCEPTION; } |
#define fatal6 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4, | |||||
x5, | |||||
x6 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6 ); DEBUG_EXCEPTION; } |
#define fatal7 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4, | |||||
x5, | |||||
x6, | |||||
x7 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7 ); DEBUG_EXCEPTION; } |
#define fatal8 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4, | |||||
x5, | |||||
x6, | |||||
x7, | |||||
x8 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7, x8 ); DEBUG_EXCEPTION; } |
#define fatal9 | ( | m, | |||
x1, | |||||
x2, | |||||
x3, | |||||
x4, | |||||
x5, | |||||
x6, | |||||
x7, | |||||
x8, | |||||
x9 | ) | { report_fatal(FILE_INFO, LINE_INFO, m, x1, x2, x3, x4, x5, x6, x7, x8, x9); DEBUG_EXCEPTION; } |
#define guarantee | ( | b, | |||
msg | ) | { if (!(b)) fatal(msg); } |
Definition at line 59 of file error.hpp.
Referenced by Assembler::decb(), deoptimize_context_and_patch_block(), Assembler::emit_arith_b(), Assembler::movb(), Assembler::movsxb(), prim_init(), InterpretedIC::replace(), and Assembler::testb().
#define ShouldNotCallThis | ( | ) | { report_should_not_call (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
Definition at line 60 of file error.hpp.
Referenced by IC_Iterator::compiled_ic(), Klass::create_subclass(), IC_Iterator::interpreted_ic(), methodKlass::oop_scavenge_contents(), oopDesc::oopDesc(), ValueObj::operator delete(), StackObj::operator delete(), ValueObj::operator new(), StackObj::operator new(), symbolOopDesc::scavenge(), and symbolKlass::scavenge().
#define ShouldNotReachHere | ( | ) | { report_should_not_reach_here (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
Definition at line 61 of file error.hpp.
Referenced by ErrorHandler::abort_current_process(), Bytecodes::access_send_code_for(), Bytecodes::argument_spec_as_string(), arguments_as_string(), Assembler::bind_to(), Bytecodes::code_type_as_string(), Bytecodes::compiled_send_code_for(), ErrorHandler::continue_nlr_in_delta(), MethodIterator::dispatch(), InterpretedIC::does_not_understand(), primitive_desc::eval(), Bytecodes::format_as_string(), Floats::generate(), generate_signature(), rSet::get_size(), Bytecodes::has_access_send_code(), Bytecodes::has_predicted_send_code(), InterpretedIC_Iterator::init_iteration(), Bytecodes::interpreted_send_code_for(), CodeIterator::interpreter_return_point(), Bytecodes::is_self_send(), Bytecodes::is_super_send(), InterpreterGenerator::load_recv(), primitives::lookup_and_patch(), Bytecodes::loop_type(), Bytecodes::loop_type_as_string(), Bytecodes::megamorphic_send_code_for(), CodeIterator::next_hp(), InterpretedIC::nof_arguments(), Bytecodes::original_primitive_call_code_for(), Bytecodes::original_send_code_for(), Bytecodes::polymorphic_send_code_for(), Label::pos(), Bytecodes::primitive_call_code_for(), Bytecodes::primitive_send_code_for(), IC::print(), print_format(), LookupKey::print_inlining_database_on(), MethodPrinterClosure::print_sendtype(), GenericGrowableArray::raw_remove(), Universe::relocate(), InterpreterGenerator::return_tos(), rSet::rSet(), Bytecodes::send_type_as_string(), Universe::spaceFor(), symbol_from_method_inlining_info(), InterpretedIC::update_inline_cache(), and StubRoutines::wrong_DLL_call().
#define SubclassResponsibility | ( | ) | { report_subclass_responsibility(FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
#define Unimplemented | ( | ) | { report_unimplemented (FILE_INFO, LINE_INFO); DEBUG_EXCEPTION; } |
Definition at line 63 of file error.hpp.
Referenced by ErrorHandler::abort_compilation(), klassConverter::allocate(), Assembler::cmovccl(), interpretedVFrame::expression_at_put(), MacroAssembler::fpu_mask_and_cond_for(), Assembler::merge(), doubleValueArrayKlass::oop_layout_iterate(), doubleValueArrayKlass::oop_print_value_on(), outputStream::out_hex(), IC::replace(), Assembler::sbbl(), mixinConverter::transfer(), InterpretedIC::update_inline_cache(), and validateContextChain().
void breakpoint | ( | ) |
void report_assertion_failure | ( | char * | code_str, | |
char * | file_name, | |||
int | line_no, | |||
char * | message | |||
) |
Definition at line 72 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_fatal | ( | char * | file_name, | |
int | line_no, | |||
char * | format, | |||
... | ||||
) |
Definition at line 77 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_should_not_call | ( | char * | file_name, | |
int | line_no | |||
) |
Definition at line 86 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_should_not_reach_here | ( | char * | file_name, | |
int | line_no | |||
) |
Definition at line 91 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_subclass_responsibility | ( | char * | file_name, | |
int | line_no | |||
) |
Definition at line 96 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_unimplemented | ( | char * | file_name, | |
int | line_no | |||
) |
Definition at line 101 of file error.cpp.
References report_error().
Here is the call graph for this function:
void report_vm_state | ( | ) |
Definition at line 27 of file error.cpp.
References outputStream::cr(), eventLog, outputStream::print(), EventLog::printPartial(), std, and theCompiler.
Referenced by report_error().
Here is the call graph for this function: