Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/deoptimization.cpp @ 10721:5fc4aedf7910
add relative pc to uncommon trap event entry (helps debugging SEGFAULTs in copmiled code)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 12 Jul 2013 15:30:28 +0200 |
parents | 836a62f43af9 |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
10720:7cc08d83111d | 10721:5fc4aedf7910 |
---|---|
1298 // Make sure the calling nmethod is not getting deoptimized and removed | 1298 // Make sure the calling nmethod is not getting deoptimized and removed |
1299 // before we are done with it. | 1299 // before we are done with it. |
1300 nmethodLocker nl(fr.pc()); | 1300 nmethodLocker nl(fr.pc()); |
1301 | 1301 |
1302 // Log a message | 1302 // Log a message |
1303 Events::log(thread, "Uncommon trap: trap_request=" PTR32_FORMAT " fr.pc=" INTPTR_FORMAT, | 1303 Events::log(thread, "Uncommon trap: trap_request=" PTR32_FORMAT " fr.pc=" INTPTR_FORMAT " relative=" INTPTR_FORMAT, |
1304 trap_request, fr.pc()); | 1304 trap_request, fr.pc(), fr.pc() - fr.cb()->code_begin()); |
1305 | 1305 |
1306 { | 1306 { |
1307 ResourceMark rm; | 1307 ResourceMark rm; |
1308 | 1308 |
1309 // Revoke biases of any monitors in the frame to ensure we can migrate them | 1309 // Revoke biases of any monitors in the frame to ensure we can migrate them |