Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalRuntime.hpp @ 18303:ab47ef2f2207
disable blocking compilation requests once GraalRuntime::shutdown has been called
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 07 Nov 2014 12:35:58 +0100 |
parents | bcb1e5c232d8 |
children | c307546c7b0a |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Fri Nov 07 12:34:18 2014 +0100 +++ b/src/share/vm/graal/graalRuntime.hpp Fri Nov 07 12:35:58 2014 +0100 @@ -36,6 +36,8 @@ static address _external_deopt_i2c_entry; static const char* _generated_sources_sha1; + static bool _shutdown_called; + /** * Reads the OptionValue object from a specified static field. * @@ -141,6 +143,10 @@ static void shutdown(); + static bool shutdown_called() { + return _shutdown_called; + } + /** * Given an interface representing a Graal service (i.e. sub-interface of * com.oracle.graal.api.runtime.Service), gets an array of objects, one per