Mercurial > hg > truffle
changeset 13104:dd941feb26cb
check for pending exception after call to createHotSpotResolvedObjectType
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 21 Nov 2013 22:10:13 +0100 |
parents | c0b0974dd509 |
children | d3fc35a43376 |
files | src/share/vm/graal/graalCompiler.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Thu Nov 21 22:08:04 2013 +0100 +++ b/src/share/vm/graal/graalCompiler.cpp Thu Nov 21 22:10:13 2013 +0100 @@ -184,6 +184,7 @@ ResourceMark rm; thread->set_is_graal_compiling(true); Handle holder = GraalCompiler::createHotSpotResolvedObjectType(method, CHECK); + check_pending_exception("Error while calling createHotSpotResolvedObjectType"); VMToCompiler::compileMethod(method(), holder, entry_bci, blocking); thread->set_is_graal_compiling(false); }