< prev index next >

src/share/vm/code/compiledIC.hpp

Print this page




 289   friend class CompiledStaticCall;
 290  public:
 291   address      entry() const    { return _entry;  }
 292   methodHandle callee() const   { return _callee; }
 293 };
 294 
 295 
 296 class CompiledStaticCall: public NativeCall {
 297   friend class CompiledIC;
 298 
 299   // Also used by CompiledIC
 300   void set_to_interpreted(methodHandle callee, address entry);
 301   bool is_optimized_virtual();
 302 
 303  public:
 304   friend CompiledStaticCall* compiledStaticCall_before(address return_addr);
 305   friend CompiledStaticCall* compiledStaticCall_at(address native_call);
 306   friend CompiledStaticCall* compiledStaticCall_at(Relocation* call_site);
 307 
 308   // Code
 309   static address emit_to_interp_stub(CodeBuffer &cbuf);
 310   static int to_interp_stub_size();
 311   static int reloc_to_interp_stub();
 312 
 313   // State
 314   bool is_clean() const;
 315   bool is_call_to_compiled() const;
 316   bool is_call_to_interpreted() const;
 317 
 318   // Clean static call (will force resolving on next use)
 319   void set_to_clean();
 320 
 321   // Set state. The entry must be the same, as computed by compute_entry.
 322   // Computation and setting is split up, since the actions are separate during
 323   // a OptoRuntime::resolve_xxx.
 324   void set(const StaticCallInfo& info);
 325 
 326   // Compute entry point given a method
 327   static void compute_entry(methodHandle m, StaticCallInfo& info);
 328 
 329   // Stub support




 289   friend class CompiledStaticCall;
 290  public:
 291   address      entry() const    { return _entry;  }
 292   methodHandle callee() const   { return _callee; }
 293 };
 294 
 295 
 296 class CompiledStaticCall: public NativeCall {
 297   friend class CompiledIC;
 298 
 299   // Also used by CompiledIC
 300   void set_to_interpreted(methodHandle callee, address entry);
 301   bool is_optimized_virtual();
 302 
 303  public:
 304   friend CompiledStaticCall* compiledStaticCall_before(address return_addr);
 305   friend CompiledStaticCall* compiledStaticCall_at(address native_call);
 306   friend CompiledStaticCall* compiledStaticCall_at(Relocation* call_site);
 307 
 308   // Code
 309   static address emit_to_interp_stub(CodeBuffer &cbuf, address mark = NULL);
 310   static int to_interp_stub_size();
 311   static int reloc_to_interp_stub();
 312 
 313   // State
 314   bool is_clean() const;
 315   bool is_call_to_compiled() const;
 316   bool is_call_to_interpreted() const;
 317 
 318   // Clean static call (will force resolving on next use)
 319   void set_to_clean();
 320 
 321   // Set state. The entry must be the same, as computed by compute_entry.
 322   // Computation and setting is split up, since the actions are separate during
 323   // a OptoRuntime::resolve_xxx.
 324   void set(const StaticCallInfo& info);
 325 
 326   // Compute entry point given a method
 327   static void compute_entry(methodHandle m, StaticCallInfo& info);
 328 
 329   // Stub support


< prev index next >