comparison 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
comparison
equal deleted inserted replaced
1938:1aa5b22a7716 1939:b7fb5f1e0747
1583 } 1583 }
1584 1584
1585 // Allocate a new set of JNI handles. 1585 // Allocate a new set of JNI handles.
1586 push_jni_handle_block(); 1586 push_jni_handle_block();
1587 jobject target_handle = JNIHandles::make_local(thread, JNIHandles::resolve(task->method_handle())); 1587 jobject target_handle = JNIHandles::make_local(thread, JNIHandles::resolve(task->method_handle()));
1588 int compilable = ciEnv::MethodCompilable; 1588 int compilable = ciEnv::MethodCompilable_never;
1589 { 1589 if (MaxCompilationID == -1 || compile_id <= (uint)MaxCompilationID) {
1590 compilable = ciEnv::MethodCompilable;
1590 int system_dictionary_modification_counter; 1591 int system_dictionary_modification_counter;
1591 { 1592 {
1592 MutexLocker locker(Compile_lock, thread); 1593 MutexLocker locker(Compile_lock, thread);
1593 system_dictionary_modification_counter = SystemDictionary::number_of_modifications(); 1594 system_dictionary_modification_counter = SystemDictionary::number_of_modifications();
1594 } 1595 }