Skip to content
Permalink
Browse files

is_deopt_pc not used

  • Loading branch information
AlanBateman committed Feb 1, 2020
1 parent 62e825b commit 50b2668b32c1bc0142e2b1255e017f31be24203b
Showing with 10 additions and 10 deletions.
  1. +10 −10 src/hotspot/share/runtime/continuation.cpp
@@ -204,8 +204,8 @@ static void print_chunk(oop chunk, oop cont = (oop)NULL, bool verbose = false) P
static void print_frames(JavaThread* thread, outputStream* st = tty);
static void print_blob(outputStream* st, address addr);
static jlong java_tid(JavaThread* thread);
static bool is_deopt_pc(const frame& f, address pc);
static bool is_deopt_pc(address pc);
// static bool is_deopt_pc(const frame& f, address pc);
// static bool is_deopt_pc(address pc);
// void static stop();
// void static stop(const frame& f);
// static void print_JavaThread_offsets();
@@ -6276,14 +6276,14 @@ static inline bool is_deopt_return(address pc, const frame& sender) {
return cm->is_deopt_pc(pc);
}

#ifdef ASSERT_NOT_USED
static bool is_deopt_pc(const frame& f, address pc) {
return f.is_compiled_frame() && f.cb()->as_compiled_method()->is_deopt_pc(pc);
}
static bool is_deopt_pc(address pc) {
CodeBlob* cb = CodeCache::find_blob(pc);
return cb != NULL && cb->is_compiled() && cb->as_compiled_method()->is_deopt_pc(pc);
}
#ifdef ASSERT
//static bool is_deopt_pc(const frame& f, address pc) {
// return f.is_compiled_frame() && f.cb()->as_compiled_method()->is_deopt_pc(pc);
//}
//static bool is_deopt_pc(address pc) {
// CodeBlob* cb = CodeCache::find_blob(pc);
// return cb != NULL && cb->is_compiled() && cb->as_compiled_method()->is_deopt_pc(pc);
//}
#endif

template <typename FrameT>

0 comments on commit 50b2668

Please sign in to comment.