changeset 2:d9ead3bdbf5b

Disable the function of CICompileOSR. The function of OSR doesn't work properly, we disable the function for the moment.
author Cai Songsong <caisongsong@loongson.cn>
date Sat, 09 Oct 2010 16:29:56 +0800
parents c1e1428eff7c
children 4e36cfdacf99
files hotspot/src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }