hotspot/src/share/vm/compiler/compilerOracle.cpp
changeset 24658 e41df2fc6e87
parent 24424 2658d7834c6e
child 25949 34557722059b
equal deleted inserted replaced
24462:0676642e6560 24658:e41df2fc6e87
   305 
   305 
   306 bool CompilerOracle::should_print(methodHandle method) {
   306 bool CompilerOracle::should_print(methodHandle method) {
   307   return (check_predicate(PrintCommand, method));
   307   return (check_predicate(PrintCommand, method));
   308 }
   308 }
   309 
   309 
       
   310 bool CompilerOracle::should_print_methods() {
       
   311   return lists[PrintCommand] != NULL;
       
   312 }
   310 
   313 
   311 bool CompilerOracle::should_log(methodHandle method) {
   314 bool CompilerOracle::should_log(methodHandle method) {
   312   if (!LogCompilation)            return false;
   315   if (!LogCompilation)            return false;
   313   if (lists[LogCommand] == NULL)  return true;  // by default, log all
   316   if (lists[LogCommand] == NULL)  return true;  // by default, log all
   314   return (check_predicate(LogCommand, method));
   317   return (check_predicate(LogCommand, method));