hotspot/src/share/vm/compiler/compilerOracle.cpp
changeset 24658 e41df2fc6e87
parent 24424 2658d7834c6e
child 25949 34557722059b
--- a/hotspot/src/share/vm/compiler/compilerOracle.cpp	Tue May 20 20:35:39 2014 +0200
+++ b/hotspot/src/share/vm/compiler/compilerOracle.cpp	Wed May 21 14:36:18 2014 -0400
@@ -307,6 +307,9 @@
   return (check_predicate(PrintCommand, method));
 }
 
+bool CompilerOracle::should_print_methods() {
+  return lists[PrintCommand] != NULL;
+}
 
 bool CompilerOracle::should_log(methodHandle method) {
   if (!LogCompilation)            return false;