src/share/vm/ci/ciMethod.hpp

changeset 5991
b2ee5dc63353
parent 5907
c775af091fe9
child 6217
849eb7bfceac
     1.1 --- a/src/share/vm/ci/ciMethod.hpp	Wed Oct 23 10:00:39 2013 +0200
     1.2 +++ b/src/share/vm/ci/ciMethod.hpp	Wed Oct 23 12:40:23 2013 +0200
     1.3 @@ -117,6 +117,10 @@
     1.4      *bcp = code;
     1.5    }
     1.6  
     1.7 +  // Check bytecode and profile data collected are compatible
     1.8 +  void assert_virtual_call_type_ok(int bci);
     1.9 +  void assert_call_type_ok(int bci);
    1.10 +
    1.11   public:
    1.12    // Basic method information.
    1.13    ciFlags flags() const                          { check_is_loaded(); return _flags; }
    1.14 @@ -230,6 +234,11 @@
    1.15    ciCallProfile call_profile_at_bci(int bci);
    1.16    int           interpreter_call_site_count(int bci);
    1.17  
    1.18 +  // Does type profiling provide a useful type at this point?
    1.19 +  ciKlass*      argument_profiled_type(int bci, int i);
    1.20 +  ciKlass*      parameter_profiled_type(int i);
    1.21 +  ciKlass*      return_profiled_type(int bci);
    1.22 +
    1.23    ciField*      get_field_at_bci( int bci, bool &will_link);
    1.24    ciMethod*     get_method_at_bci(int bci, bool &will_link, ciSignature* *declared_signature);
    1.25  

mercurial