hotspot/src/share/vm/compiler/compileBroker.hpp
changeset 27701 c6b49b72dc61
parent 27696 c43940b3cf78
child 30281 b1608535e50f
--- a/hotspot/src/share/vm/compiler/compileBroker.hpp	Thu Nov 20 11:06:26 2014 +0100
+++ b/hotspot/src/share/vm/compiler/compileBroker.hpp	Fri Nov 21 17:27:11 2014 +0300
@@ -415,6 +415,7 @@
     shutdown_compilaton = 2
   };
 
+  static jint get_compilation_activity_mode() { return _should_compile_new_jobs; }
   static bool should_compile_new_jobs() { return UseCompiler && (_should_compile_new_jobs == run_compilation); }
   static bool set_should_compile_new_jobs(jint new_state) {
     // Return success if the current caller set it