# HG changeset patch # User Thomas Wuerthinger # Date 1315855233 -7200 # Node ID c94966c5fb41c4fac0315880478affd59dbbec7c # Parent 4e3bcc322fdce4bb27d5fe595ac051f55bd4a142 Only shut down the compiler if it was initialized. diff -r 4e3bcc322fdc -r c94966c5fb41 src/share/vm/graal/graalCompiler.cpp --- 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