< prev index next >

src/share/vm/ci/ciCallSite.hpp

Print this page




  26 #define SHARE_VM_CI_CICALLSITE_HPP
  27 
  28 #include "ci/ciInstance.hpp"
  29 
  30 // ciCallSite
  31 //
  32 // The class represents a java.lang.invoke.CallSite object.
  33 class ciCallSite : public ciInstance {
  34 public:
  35   ciCallSite(instanceHandle h_i) : ciInstance(h_i) {}
  36 
  37   // What kind of ciObject is this?
  38   bool is_call_site() const { return true; }
  39 
  40   bool is_constant_call_site();
  41   bool is_mutable_call_site();
  42   bool is_volatile_call_site();
  43 
  44   // Return the target MethodHandle of this CallSite.
  45   ciMethodHandle* get_target() const;
  46   ciKlass* get_context();
  47 
  48   void print();
  49 };
  50 
  51 #endif // SHARE_VM_CI_CICALLSITE_HPP


  26 #define SHARE_VM_CI_CICALLSITE_HPP
  27 
  28 #include "ci/ciInstance.hpp"
  29 
  30 // ciCallSite
  31 //
  32 // The class represents a java.lang.invoke.CallSite object.
  33 class ciCallSite : public ciInstance {
  34 public:
  35   ciCallSite(instanceHandle h_i) : ciInstance(h_i) {}
  36 
  37   // What kind of ciObject is this?
  38   bool is_call_site() const { return true; }
  39 
  40   bool is_constant_call_site();
  41   bool is_mutable_call_site();
  42   bool is_volatile_call_site();
  43 
  44   // Return the target MethodHandle of this CallSite.
  45   ciMethodHandle* get_target() const;

  46 
  47   void print();
  48 };
  49 
  50 #endif // SHARE_VM_CI_CICALLSITE_HPP
< prev index next >