8008663: [parfait] Null pointer deference in hotspot/src/share/vm/compiler/compileBroker.cpp

Add NULL checks for compiler name

Reviewed-by: twisti, kvn
This commit is contained in:
Morris Meyer 2013-03-19 07:23:29 -07:00
parent 887dd2634c
commit 7e6a92e08b
2 changed files with 50 additions and 30 deletions

View file

@ -418,6 +418,9 @@ class CompileBroker: AllStatic {
static void print_last_compile();
static void print_compiler_threads_on(outputStream* st);
// compiler name for debugging
static const char* compiler_name(int comp_level);
};
#endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP