mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
This commit is contained in:
parent
67ff4391ec
commit
b853eb7f5c
100 changed files with 2486 additions and 1868 deletions
|
@ -1010,8 +1010,8 @@ void ThreadSafepointState::handle_polling_page_exception() {
|
|||
address real_return_addr = thread()->saved_exception_pc();
|
||||
|
||||
CodeBlob *cb = CodeCache::find_blob(real_return_addr);
|
||||
assert(cb != NULL && cb->is_nmethod(), "return address should be in nmethod");
|
||||
nmethod* nm = (nmethod*)cb;
|
||||
assert(cb != NULL && cb->is_compiled(), "return address should be in nmethod");
|
||||
CompiledMethod* nm = (CompiledMethod*)cb;
|
||||
|
||||
// Find frame of caller
|
||||
frame stub_fr = thread()->last_frame();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue