src/share/vm/runtime/advancedThresholdPolicy.hpp

changeset 3452
20334ed5ed3c
parent 3035
43f9d800f276
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/runtime/advancedThresholdPolicy.hpp	Thu Jan 26 16:49:22 2012 +0100
     1.2 +++ b/src/share/vm/runtime/advancedThresholdPolicy.hpp	Thu Jan 26 12:15:24 2012 -0800
     1.3 @@ -197,7 +197,7 @@
     1.4    // determines whether we should do that.
     1.5    inline bool should_create_mdo(methodOop method, CompLevel cur_level);
     1.6    // Create MDO if necessary.
     1.7 -  void create_mdo(methodHandle mh, TRAPS);
     1.8 +  void create_mdo(methodHandle mh, JavaThread* thread);
     1.9    // Is method profiled enough?
    1.10    bool is_method_profiled(methodOop method);
    1.11  
    1.12 @@ -208,12 +208,12 @@
    1.13    jlong start_time() const     { return _start_time; }
    1.14  
    1.15    // Submit a given method for compilation (and update the rate).
    1.16 -  virtual void submit_compile(methodHandle mh, int bci, CompLevel level, TRAPS);
    1.17 +  virtual void submit_compile(methodHandle mh, int bci, CompLevel level, JavaThread* thread);
    1.18    // event() from SimpleThresholdPolicy would call these.
    1.19    virtual void method_invocation_event(methodHandle method, methodHandle inlinee,
    1.20 -                                       CompLevel level, nmethod* nm, TRAPS);
    1.21 +                                       CompLevel level, nmethod* nm, JavaThread* thread);
    1.22    virtual void method_back_branch_event(methodHandle method, methodHandle inlinee,
    1.23 -                                        int bci, CompLevel level, nmethod* nm, TRAPS);
    1.24 +                                        int bci, CompLevel level, nmethod* nm, JavaThread* thread);
    1.25  public:
    1.26    AdvancedThresholdPolicy() : _start_time(0) { }
    1.27    // Select task is called by CompileBroker. We should return a task or NULL.

mercurial