src/share/vm/compiler/compileBroker.cpp

changeset 2685
1927db75dd85
parent 2635
1c0cf339481b
child 2687
3d58a4983660
equal deleted inserted replaced
2684:244bf8afbbd3 2685:1927db75dd85
872 // in the meantime with a definitive result. 872 // in the meantime with a definitive result.
873 if (compilation_is_complete(method, osr_bci, comp_level)) { 873 if (compilation_is_complete(method, osr_bci, comp_level)) {
874 return; 874 return;
875 } 875 }
876 876
877 #ifndef PRODUCT
878 if (osr_bci != -1 && !FLAG_IS_DEFAULT(OSROnlyBCI)) {
879 if ((OSROnlyBCI > 0) ? (OSROnlyBCI != osr_bci) : (-OSROnlyBCI == osr_bci)) {
880 // Positive OSROnlyBCI means only compile that bci. Negative means don't compile that BCI.
881 return;
882 }
883 }
884 #endif
877 885
878 // If this method is already in the compile queue, then 886 // If this method is already in the compile queue, then
879 // we do not block the current thread. 887 // we do not block the current thread.
880 if (compilation_is_in_queue(method, osr_bci)) { 888 if (compilation_is_in_queue(method, osr_bci)) {
881 // We may want to decay our counter a bit here to prevent 889 // We may want to decay our counter a bit here to prevent

mercurial