hotspot/src/share/vm/ci/ciMethod.cpp
changeset 15479 e3c00ec80145
parent 15471 41f75023e6a6
child 16617 6235d2c7549f
--- a/hotspot/src/share/vm/ci/ciMethod.cpp	Mon Feb 04 11:30:37 2013 +0100
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp	Tue Feb 05 08:25:51 2013 -0800
@@ -977,7 +977,7 @@
 // ciMethod::set_not_compilable
 //
 // Tell the VM that this method cannot be compiled at all.
-void ciMethod::set_not_compilable() {
+void ciMethod::set_not_compilable(const char* reason) {
   check_is_loaded();
   VM_ENTRY_MARK;
   ciEnv* env = CURRENT_ENV;
@@ -986,7 +986,7 @@
   } else {
     _is_c2_compilable = false;
   }
-  get_Method()->set_not_compilable(env->comp_level());
+  get_Method()->set_not_compilable(env->comp_level(), true, reason);
 }
 
 // ------------------------------------------------------------------