src/share/vm/ci/ciMethod.hpp

changeset 2349
5ddfcf4b079e
parent 2314
f95d63e2154a
child 2462
8012aa3ccede
     1.1 --- a/src/share/vm/ci/ciMethod.hpp	Thu Dec 02 01:02:55 2010 -0800
     1.2 +++ b/src/share/vm/ci/ciMethod.hpp	Thu Dec 02 17:21:12 2010 -0800
     1.3 @@ -106,7 +106,7 @@
     1.4  
     1.5    void check_is_loaded() const                   { assert(is_loaded(), "not loaded"); }
     1.6  
     1.7 -  void build_method_data(methodHandle h_m);
     1.8 +  bool ensure_method_data(methodHandle h_m);
     1.9  
    1.10    void code_at_put(int bci, Bytecodes::Code code) {
    1.11      Bytecodes::check(code);
    1.12 @@ -121,6 +121,7 @@
    1.13    ciSymbol* name() const                         { return _name; }
    1.14    ciInstanceKlass* holder() const                { return _holder; }
    1.15    ciMethodData* method_data();
    1.16 +  ciMethodData* method_data_or_null();
    1.17  
    1.18    // Signature information.
    1.19    ciSignature* signature() const                 { return _signature; }
    1.20 @@ -230,7 +231,7 @@
    1.21    bool has_unloaded_classes_in_signature();
    1.22    bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
    1.23    bool check_call(int refinfo_index, bool is_static) const;
    1.24 -  void build_method_data();  // make sure it exists in the VM also
    1.25 +  bool ensure_method_data();  // make sure it exists in the VM also
    1.26    int scale_count(int count, float prof_factor = 1.);  // make MDO count commensurate with IIC
    1.27  
    1.28    // JSR 292 support

mercurial