changeset 3645:9c2c0a182f13

Ignore that task code field is not set.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 16 Nov 2011 15:46:39 +0100
parents 8093b8a2a76d
children 148584b96a34
files src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Wed Nov 16 13:56:48 2011 +0100
+++ b/src/share/vm/compiler/compileBroker.cpp	Wed Nov 16 15:46:39 2011 +0100
@@ -1809,12 +1809,13 @@
 
     compiler(task->comp_level())->compile_method(&ci_env, target, osr_bci);
 
-    if (!ci_env.failing() && task->code() == NULL) {
+    // TODO (tw): Check if this is OK.
+    /*if (!ci_env.failing() && task->code() == NULL) {
       //assert(false, "compiler should always document failure");
       // The compiler elected, without comment, not to register a result.
       // Do not attempt further compilations of this method.
       ci_env.record_method_not_compilable("compile failed", !TieredCompilation);
-    }
+    }*/
 
     if (ci_env.failing()) {
       // Copy this bit to the enclosing block: