--- a/src/hotspot/share/compiler/disassembler.cpp Wed Oct 18 16:06:39 2017 +0200
+++ b/src/hotspot/share/compiler/disassembler.cpp Sun Oct 15 22:54:03 2017 +0200
@@ -35,9 +35,6 @@
#include "runtime/stubCodeGenerator.hpp"
#include "runtime/stubRoutines.hpp"
#include CPU_HEADER(depChecker)
-#ifdef SHARK
-#include "shark/sharkEntry.hpp"
-#endif
void* Disassembler::_library = NULL;
bool Disassembler::_tried_to_load_library = false;
@@ -521,14 +518,8 @@
decode_env env(nm, st);
env.output()->print_cr("----------------------------------------------------------------------");
-#ifdef SHARK
- SharkEntry* entry = (SharkEntry *) nm->code_begin();
- unsigned char* p = entry->code_start();
- unsigned char* end = entry->code_limit();
-#else
unsigned char* p = nm->code_begin();
unsigned char* end = nm->code_end();
-#endif // SHARK
nm->method()->method_holder()->name()->print_symbol_on(env.output());
env.output()->print(".");