src/hotspot/share/code/compiledMethod.hpp
changeset 55293 d19dc5b10fbb
parent 55005 9b70ebd131b4
child 55479 80b27dc96ca3
--- a/src/hotspot/share/code/compiledMethod.hpp	Fri Jun 07 09:16:11 2019 -0700
+++ b/src/hotspot/share/code/compiledMethod.hpp	Fri Jun 07 10:26:21 2019 -0700
@@ -350,7 +350,8 @@
   void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f);
 
   // implicit exceptions support
-  virtual address continuation_for_implicit_exception(address pc) { return NULL; }
+  address continuation_for_implicit_div0_exception(address pc) { return continuation_for_implicit_exception(pc, true); }
+  address continuation_for_implicit_null_exception(address pc) { return continuation_for_implicit_exception(pc, false); }
 
   static address get_deopt_original_pc(const frame* fr);
 
@@ -358,6 +359,8 @@
  private:
   bool cleanup_inline_caches_impl(bool unloading_occurred, bool clean_all);
 
+  address continuation_for_implicit_exception(address pc, bool for_div0_check);
+
  public:
   // Serial version used by sweeper and whitebox test
   void cleanup_inline_caches(bool clean_all);