Mercurial > hg > truffle
comparison src/share/vm/runtime/deoptimization.cpp @ 15104:ed29f7ff71eb
add DeoptimizationStub
author | twisti |
---|---|
date | Mon, 14 Apr 2014 17:21:49 -1000 |
parents | 4ca6dc0799b6 |
children | 2c940b1a48d8 |
comparison
equal
deleted
inserted
replaced
15103:9dc7efd43c44 | 15104:ed29f7ff71eb |
---|---|
355 nmethod* deoptee_nm = deoptee.cb()->as_nmethod_or_null(); | 355 nmethod* deoptee_nm = deoptee.cb()->as_nmethod_or_null(); |
356 if (deoptee_nm != NULL && deoptee_nm->is_method_handle_return(deoptee.pc())) | 356 if (deoptee_nm != NULL && deoptee_nm->is_method_handle_return(deoptee.pc())) |
357 unpack_sp = deoptee.unextended_sp(); | 357 unpack_sp = deoptee.unextended_sp(); |
358 | 358 |
359 #ifdef ASSERT | 359 #ifdef ASSERT |
360 assert(cb->is_deoptimization_stub() || cb->is_uncommon_trap_stub(), "just checking"); | 360 assert(cb->is_deoptimization_stub() || |
361 cb->is_uncommon_trap_stub() || | |
362 strcmp("Stub<DeoptimizationStub.uncommonTrapHandler>", cb->name()) == 0, | |
363 err_msg("unexpected code blob: %s", cb->name())); | |
361 #endif | 364 #endif |
362 #else | 365 #else |
363 intptr_t* unpack_sp = stub_frame.sender(&dummy_map).unextended_sp(); | 366 intptr_t* unpack_sp = stub_frame.sender(&dummy_map).unextended_sp(); |
364 #endif // !SHARK | 367 #endif // !SHARK |
365 | 368 |