src/share/vm/runtime/compilationPolicy.hpp

changeset 1
2d8a650513c2
parent 0
f90c822e73f8
child 26
ed5b982c0b0e
     1.1 --- a/src/share/vm/runtime/compilationPolicy.hpp	Wed Apr 27 01:25:04 2016 +0800
     1.2 +++ b/src/share/vm/runtime/compilationPolicy.hpp	Fri Apr 29 00:06:10 2016 +0800
     1.3 @@ -22,6 +22,12 @@
     1.4   *
     1.5   */
     1.6  
     1.7 +/*
     1.8 + * This file has been modified by Loongson Technology in 2015. These
     1.9 + * modifications are Copyright (c) 2015 Loongson Technology, and are made
    1.10 + * available on the same license terms set forth above.
    1.11 + */
    1.12 +
    1.13  #ifndef SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP
    1.14  #define SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP
    1.15  
    1.16 @@ -110,6 +116,11 @@
    1.17    virtual nmethod* event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread);
    1.18    virtual void method_invocation_event(methodHandle m, JavaThread* thread) = 0;
    1.19    virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread) = 0;
    1.20 +#ifdef MIPS64
    1.21 +  inline bool compare(CompileTask* task_x, CompileTask* task_y);
    1.22 +  inline void update_speed(jlong t, CompileTask* task);
    1.23 +  inline bool task_should_be_removed(jlong t, jlong timeout, CompileTask* task);
    1.24 +#endif
    1.25  };
    1.26  
    1.27  class SimpleCompPolicy : public NonTieredCompPolicy {

mercurial