Mercurial > hg > truffle
changeset 16014:c1a47bf45b66
do not start/stop Graal compilation queue if -XX:-UseGraalCompilationQueue
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 04 Jun 2014 15:58:04 +0200 |
parents | dd5c15b85f78 |
children | 19a48d9834e1 |
files | src/share/vm/graal/graalCompiler.cpp |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Wed Jun 04 12:02:36 2014 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Wed Jun 04 15:58:04 2014 +0200 @@ -64,7 +64,9 @@ _bootstrapping = UseGraalCompilationQueue && (FLAG_IS_DEFAULT(BootstrapGraal) ? !TieredCompilation : BootstrapGraal); - start_compilation_queue(); + if (UseGraalCompilationQueue) { + start_compilation_queue(); + } // Graal is considered as application code so we need to // stop the VM deferring compilation now. @@ -154,7 +156,9 @@ } void GraalCompiler::shutdown() { - shutdown_compilation_queue(); + if (UseGraalCompilationQueue) { + shutdown_compilation_queue(); + } } // Print compilation timers and statistics