hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 8870 119881dc9d0b
parent 8672 26a427ab6f32
child 8872 36680c58660e
equal deleted inserted replaced
8869:dd30e4318b8d 8870:119881dc9d0b
   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