comparison src/share/vm/utilities/exceptions.hpp @ 6266:1d7922586cf6

7023639: JSR 292 method handle invocation needs a fast path for compiled code 6984705: JSR 292 method handle creation should not go through JNI Summary: remove assembly code for JDK 7 chained method handles Reviewed-by: jrose, twisti, kvn, mhaupt Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author twisti
date Tue, 24 Jul 2012 10:51:00 -0700
parents d2a62e0f25eb
children 93c71eb28866
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
218 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; } 218 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; }
219 219
220 #define THROW_ARG(name, signature, args) \ 220 #define THROW_ARG(name, signature, args) \
221 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; } 221 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; }
222 222
223 #define THROW_MSG_CAUSE(name, message, cause) \
224 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
225
223 #define THROW_OOP_(e, result) \ 226 #define THROW_OOP_(e, result) \
224 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; } 227 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; }
225 228
226 #define THROW_HANDLE_(e, result) \ 229 #define THROW_HANDLE_(e, result) \
227 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; } 230 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; }
235 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \ 238 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \
236 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; } 239 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; }
237 240
238 #define THROW_ARG_(name, signature, args, result) \ 241 #define THROW_ARG_(name, signature, args, result) \
239 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; } 242 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; }
243
244 #define THROW_MSG_CAUSE(name, message, cause) \
245 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
240 246
241 #define THROW_MSG_CAUSE_(name, message, cause, result) \ 247 #define THROW_MSG_CAUSE_(name, message, cause, result) \
242 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return result; } 248 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return result; }
243 249
244 250