src/share/vm/ci/ciMethod.hpp

changeset 4267
bd7a7ce2e264
parent 4037
da91efe96a93
child 4268
bb33c6fdcf0d
     1.1 --- a/src/share/vm/ci/ciMethod.hpp	Fri Nov 09 08:36:17 2012 -0800
     1.2 +++ b/src/share/vm/ci/ciMethod.hpp	Mon Nov 12 14:03:53 2012 -0800
     1.3 @@ -51,6 +51,7 @@
     1.4    friend class ciExceptionHandlerStream;
     1.5    friend class ciBytecodeStream;
     1.6    friend class ciMethodHandle;
     1.7 +  friend class ciReplay;
     1.8  
     1.9   private:
    1.10    // General method information.
    1.11 @@ -69,6 +70,7 @@
    1.12    int _handler_count;
    1.13    int _interpreter_invocation_count;
    1.14    int _interpreter_throwout_count;
    1.15 +  int _instructions_size;
    1.16  
    1.17    bool _uses_monitors;
    1.18    bool _balanced_monitors;
    1.19 @@ -252,7 +254,6 @@
    1.20    bool can_be_osr_compiled(int entry_bci);
    1.21    void set_not_compilable();
    1.22    bool has_compiled_code();
    1.23 -  int  instructions_size(int comp_level = CompLevel_any);
    1.24    void log_nmethod_identity(xmlStream* log);
    1.25    bool is_not_reached(int bci);
    1.26    bool was_executed_more_than(int times);
    1.27 @@ -260,6 +261,7 @@
    1.28    bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
    1.29    bool check_call(int refinfo_index, bool is_static) const;
    1.30    bool ensure_method_data();  // make sure it exists in the VM also
    1.31 +  int instructions_size();
    1.32    int scale_count(int count, float prof_factor = 1.);  // make MDO count commensurate with IIC
    1.33  
    1.34    // JSR 292 support
    1.35 @@ -291,6 +293,7 @@
    1.36    bool is_accessor    () const;
    1.37    bool is_initializer () const;
    1.38    bool can_be_statically_bound() const           { return _can_be_statically_bound; }
    1.39 +  void dump_replay_data(outputStream* st);
    1.40  
    1.41    // Print the bytecodes of this method.
    1.42    void print_codes_on(outputStream* st);

mercurial