src/share/vm/code/codeBlob.hpp

changeset 3969
1d7922586cf6
parent 2895
167b70ff3abc
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/code/codeBlob.hpp	Mon Jul 23 13:04:59 2012 -0700
     1.2 +++ b/src/share/vm/code/codeBlob.hpp	Tue Jul 24 10:51:00 2012 -0700
     1.3 @@ -35,7 +35,6 @@
     1.4  // Suptypes are:
     1.5  //   nmethod            : Compiled Java methods (include method that calls to native code)
     1.6  //   RuntimeStub        : Call to VM runtime methods
     1.7 -//   RicochetBlob       : Used for blocking MethodHandle adapters
     1.8  //   DeoptimizationBlob : Used for deoptimizatation
     1.9  //   ExceptionBlob      : Used for stack unrolling
    1.10  //   SafepointBlob      : Used to handle illegal instruction exceptions
    1.11 @@ -99,7 +98,6 @@
    1.12    virtual bool is_buffer_blob() const            { return false; }
    1.13    virtual bool is_nmethod() const                { return false; }
    1.14    virtual bool is_runtime_stub() const           { return false; }
    1.15 -  virtual bool is_ricochet_stub() const          { return false; }
    1.16    virtual bool is_deoptimization_stub() const    { return false; }
    1.17    virtual bool is_uncommon_trap_stub() const     { return false; }
    1.18    virtual bool is_exception_stub() const         { return false; }
    1.19 @@ -350,50 +348,6 @@
    1.20  
    1.21  
    1.22  //----------------------------------------------------------------------------------------------------
    1.23 -// RicochetBlob
    1.24 -// Holds an arbitrary argument list indefinitely while Java code executes recursively.
    1.25 -
    1.26 -class RicochetBlob: public SingletonBlob {
    1.27 -  friend class VMStructs;
    1.28 - private:
    1.29 -
    1.30 -  int _bounce_offset;
    1.31 -  int _exception_offset;
    1.32 -
    1.33 -  // Creation support
    1.34 -  RicochetBlob(
    1.35 -    CodeBuffer* cb,
    1.36 -    int         size,
    1.37 -    int         bounce_offset,
    1.38 -    int         exception_offset,
    1.39 -    int         frame_size
    1.40 -  );
    1.41 -
    1.42 - public:
    1.43 -  // Creation
    1.44 -  static RicochetBlob* create(
    1.45 -    CodeBuffer* cb,
    1.46 -    int         bounce_offset,
    1.47 -    int         exception_offset,
    1.48 -    int         frame_size
    1.49 -  );
    1.50 -
    1.51 -  // Typing
    1.52 -  bool is_ricochet_stub() const { return true; }
    1.53 -
    1.54 -  // GC for args
    1.55 -  void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) { /* Nothing to do */ }
    1.56 -
    1.57 -  address bounce_addr() const           { return code_begin() + _bounce_offset; }
    1.58 -  address exception_addr() const        { return code_begin() + _exception_offset; }
    1.59 -  bool returns_to_bounce_addr(address pc) const {
    1.60 -    address bounce_pc = bounce_addr();
    1.61 -    return (pc == bounce_pc || (pc + frame::pc_return_offset) == bounce_pc);
    1.62 -  }
    1.63 -};
    1.64 -
    1.65 -
    1.66 -//----------------------------------------------------------------------------------------------------
    1.67  // DeoptimizationBlob
    1.68  
    1.69  class DeoptimizationBlob: public SingletonBlob {

mercurial