comparison src/share/vm/code/nmethod.cpp @ 2321:1b4e6a5d98e0

7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc Reviewed-by: never, bdelsart
author twisti
date Mon, 28 Feb 2011 06:07:12 -0800
parents bf8517f4e4d0
children 3d5a546351ef 46a56fac55c7 4cd9add59b1e
comparison
equal deleted inserted replaced
2320:41d4973cf100 2321:1b4e6a5d98e0
188 pc_desc_tests, pc_desc_searches, pc_desc_adds); 188 pc_desc_tests, pc_desc_searches, pc_desc_adds);
189 } 189 }
190 } nmethod_stats; 190 } nmethod_stats;
191 #endif //PRODUCT 191 #endif //PRODUCT
192 192
193
193 //--------------------------------------------------------------------------------- 194 //---------------------------------------------------------------------------------
194
195
196 // The _unwind_handler is a special marker address, which says that
197 // for given exception oop and address, the frame should be removed
198 // as the tuple cannot be caught in the nmethod
199 address ExceptionCache::_unwind_handler = (address) -1;
200 195
201 196
202 ExceptionCache::ExceptionCache(Handle exception, address pc, address handler) { 197 ExceptionCache::ExceptionCache(Handle exception, address pc, address handler) {
203 assert(pc != NULL, "Must be non null"); 198 assert(pc != NULL, "Must be non null");
204 assert(exception.not_null(), "Must be non null"); 199 assert(exception.not_null(), "Must be non null");