Skip to content

Commit

Permalink
is_deopt_pc not used
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanBateman committed Feb 1, 2020
1 parent 62e825b commit 50b2668
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/hotspot/share/runtime/continuation.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 50b2668

Please sign in to comment.