src/share/vm/runtime/advancedThresholdPolicy.hpp

changeset 5151
91eba9f82325
parent 4037
da91efe96a93
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/runtime/advancedThresholdPolicy.hpp	Fri May 17 09:10:04 2013 -0700
     1.2 +++ b/src/share/vm/runtime/advancedThresholdPolicy.hpp	Thu May 16 15:46:49 2013 +0200
     1.3 @@ -201,9 +201,12 @@
     1.4    // Is method profiled enough?
     1.5    bool is_method_profiled(Method* method);
     1.6  
     1.7 +  double _increase_threshold_at_ratio;
     1.8 +
     1.9  protected:
    1.10    void print_specific(EventType type, methodHandle mh, methodHandle imh, int bci, CompLevel level);
    1.11  
    1.12 +  void set_increase_threshold_at_ratio() { _increase_threshold_at_ratio = 100 / (100 - (double)IncreaseFirstTierCompileThresholdAt); }
    1.13    void set_start_time(jlong t) { _start_time = t;    }
    1.14    jlong start_time() const     { return _start_time; }
    1.15  

mercurial