diff src/share/vm/opto/compile.cpp @ 6843:c3e799c37717

7177003: C1: LogCompilation support Summary: add LogCompilation support in C1 - both client and tiered mode. Reviewed-by: twisti, kvn
author vlivanov
date Fri, 05 Oct 2012 18:57:10 -0700
parents e626685e9f6c
children 8e47bac5643a
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp	Fri Oct 05 13:37:08 2012 -0700
+++ b/src/share/vm/opto/compile.cpp	Fri Oct 05 18:57:10 2012 -0700
@@ -828,6 +828,9 @@
                            has_unsafe_access(),
                            SharedRuntime::is_wide_vector(max_vector_size())
                            );
+
+    if (log() != NULL) // Print code cache state into compiler log
+      log()->code_cache_state();
   }
 }