8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others

Reviewed-by: kvn, thartmann, iignatyev
This commit is contained in:
Igor Ignatyev 2014-11-21 17:27:11 +03:00
parent 5ef6d4e99d
commit bf5546e48d
6 changed files with 131 additions and 1 deletions

View file

@ -415,6 +415,7 @@ class CompileBroker: AllStatic {
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