Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompilerToVM.cpp @ 22711:316e768645c0
8139589: [JVMCI] throw exceptions in faulty code installation operations
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Thu, 29 Oct 2015 15:21:55 +0100 |
parents | 6b1cd334f300 |
children | f04d84a5f7c5 |
comparison
equal
deleted
inserted
replaced
22710:7e7573382a23 | 22711:316e768645c0 |
---|---|
592 | 592 |
593 JVMCICompiler* compiler = JVMCICompiler::instance(CHECK_(JNI_ERR)); | 593 JVMCICompiler* compiler = JVMCICompiler::instance(CHECK_(JNI_ERR)); |
594 | 594 |
595 TraceTime install_time("installCode", JVMCICompiler::codeInstallTimer()); | 595 TraceTime install_time("installCode", JVMCICompiler::codeInstallTimer()); |
596 CodeInstaller installer; | 596 CodeInstaller installer; |
597 JVMCIEnv::CodeInstallResult result = installer.install(compiler, target_handle, compiled_code_handle, cb, installed_code_handle, speculation_log_handle); | 597 JVMCIEnv::CodeInstallResult result = installer.install(compiler, target_handle, compiled_code_handle, cb, installed_code_handle, speculation_log_handle, CHECK_0); |
598 | 598 |
599 if (PrintCodeCacheOnCompilation) { | 599 if (PrintCodeCacheOnCompilation) { |
600 stringStream s; | 600 stringStream s; |
601 // Dump code cache into a buffer before locking the tty, | 601 // Dump code cache into a buffer before locking the tty, |
602 { | 602 { |