Mercurial > hg > graal-compiler
diff src/share/vm/compiler/compileBroker.cpp @ 1939:b7fb5f1e0747
Two new flags: -XX:MaxCompilationID (to enable debugging binary search for problematic method) and -XX:C1XBailoutIsFatal.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 27 Dec 2010 20:33:00 +0100 |
parents | 48bbaead8b6c |
children | 06f017f7daa7 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Mon Dec 27 14:22:55 2010 +0100 +++ b/src/share/vm/compiler/compileBroker.cpp Mon Dec 27 20:33:00 2010 +0100 @@ -1585,8 +1585,9 @@ // Allocate a new set of JNI handles. push_jni_handle_block(); jobject target_handle = JNIHandles::make_local(thread, JNIHandles::resolve(task->method_handle())); - int compilable = ciEnv::MethodCompilable; - { + int compilable = ciEnv::MethodCompilable_never; + if (MaxCompilationID == -1 || compile_id <= (uint)MaxCompilationID) { + compilable = ciEnv::MethodCompilable; int system_dictionary_modification_counter; { MutexLocker locker(Compile_lock, thread);