equal
deleted
inserted
replaced
382 IRT_ENTRY(void, InterpreterRuntime::throw_ClassCastException( |
382 IRT_ENTRY(void, InterpreterRuntime::throw_ClassCastException( |
383 JavaThread* thread, oopDesc* obj)) |
383 JavaThread* thread, oopDesc* obj)) |
384 |
384 |
385 ResourceMark rm(thread); |
385 ResourceMark rm(thread); |
386 char* message = SharedRuntime::generate_class_cast_message( |
386 char* message = SharedRuntime::generate_class_cast_message( |
387 thread, obj->klass()->external_name()); |
387 thread, obj->klass()); |
388 |
388 |
389 if (ProfileTraps) { |
389 if (ProfileTraps) { |
390 note_trap(thread, Deoptimization::Reason_class_check, CHECK); |
390 note_trap(thread, Deoptimization::Reason_class_check, CHECK); |
391 } |
391 } |
392 |
392 |