Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.cpp @ 3576:c94966c5fb41
Only shut down the compiler if it was initialized.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 12 Sep 2011 21:20:33 +0200 |
parents | b0d192f86f34 |
children | 7604c69a6301 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Mon Sep 12 18:19:20 2011 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Mon Sep 12 21:20:33 2011 +0200 @@ -119,7 +119,9 @@ } void GraalCompiler::exit() { - VMExits::shutdownCompiler(); + if (_initialized) { + VMExits::shutdownCompiler(); + } } // Print compilation timers and statistics