# HG changeset patch # User Cai Songsong # Date 1286612996 -28800 # Node ID d9ead3bdbf5b3532a6850170cf4dbb4a3ce40ea5 # Parent c1e1428eff7c770175c6f703f3764262172aa217 Disable the function of CICompileOSR. The function of OSR doesn't work properly, we disable the function for the moment. diff -r c1e1428eff7c -r d9ead3bdbf5b hotspot/src/share/vm/compiler/compileBroker.cpp --- a/hotspot/src/share/vm/compiler/compileBroker.cpp Thu Sep 30 13:48:16 2010 +0800 +++ b/hotspot/src/share/vm/compiler/compileBroker.cpp Sat Oct 09 16:29:56 2010 +0800 @@ -1122,8 +1122,8 @@ bool is_osr = (osr_bci != standard_entry_bci); // Some compilers may not support on stack replacement. - if (is_osr && - (!CICompileOSR || !compiler(comp_level)->supports_osr())) { + if (is_osr /*&& + (!CICompileOSR || !compiler(comp_level)->supports_osr())*/) { method->set_not_osr_compilable(); return true; }