comparison src/cpu/x86/vm/frame_x86.cpp @ 8106:ec2eddfed950

8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity Reviewed-by: kvn, sla
author rbackman
date Tue, 26 Feb 2013 14:09:52 +0100
parents 59c790074993
children 5fc51c1ecdeb 47bc9800972c
comparison
equal deleted inserted replaced
8105:94478a033036 8106:ec2eddfed950
89 if (!_cb->is_frame_complete_at(_pc)) { 89 if (!_cb->is_frame_complete_at(_pc)) {
90 if (_cb->is_nmethod() || _cb->is_adapter_blob() || _cb->is_runtime_stub()) { 90 if (_cb->is_nmethod() || _cb->is_adapter_blob() || _cb->is_runtime_stub()) {
91 return false; 91 return false;
92 } 92 }
93 } 93 }
94
95 // Could just be some random pointer within the codeBlob
96 if (!_cb->code_contains(_pc)) {
97 return false;
98 }
99
94 // Entry frame checks 100 // Entry frame checks
95 if (is_entry_frame()) { 101 if (is_entry_frame()) {
96 // an entry frame must have a valid fp. 102 // an entry frame must have a valid fp.
97 103
98 if (!fp_safe) return false; 104 if (!fp_safe) return false;