--- old/src/share/vm/compiler/disassembler.hpp 2016-02-05 16:13:48.512134391 +0100 +++ new/src/share/vm/compiler/disassembler.hpp 2016-02-05 16:13:48.392134386 +0100 @@ -59,7 +59,7 @@ // points to the decode function. static decode_func_virtual _decode_instructions_virtual; static decode_func _decode_instructions; - // tries to load library and return whether it succedded. + // tries to load library and return whether it succeeded. static bool load_library(); // Machine dependent stuff @@ -84,11 +84,7 @@ public: - static bool can_decode() { - return (_decode_instructions_virtual != NULL) || - (_decode_instructions != NULL) || - load_library(); - } + static bool can_decode(); static void decode(CodeBlob *cb, outputStream* st = NULL); static void decode(nmethod* nm, outputStream* st = NULL); static void decode(address begin, address end, outputStream* st = NULL, CodeStrings c = CodeStrings());