diff src/share/vm/oops/methodData.hpp @ 7998:6a51fc70a15e

8006613: adding reason to made_not_compilable Reviewed-by: kvn, vlivanov Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author vlivanov
date Tue, 05 Feb 2013 08:25:51 -0800
parents da91efe96a93
children d05ff4bf41b3
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp	Mon Feb 04 11:30:37 2013 +0100
+++ b/src/share/vm/oops/methodData.hpp	Tue Feb 05 08:25:51 2013 -0800
@@ -1465,7 +1465,7 @@
   void inc_decompile_count() {
     _nof_decompiles += 1;
     if (decompile_count() > (uint)PerMethodRecompilationCutoff) {
-      method()->set_not_compilable(CompLevel_full_optimization);
+      method()->set_not_compilable(CompLevel_full_optimization, true, "decompile_count > PerMethodRecompilationCutoff");
     }
   }