Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/oops/methodOop.hpp
          +++ new/src/share/vm/oops/methodOop.hpp
↓ open down ↓ 599 lines elided ↑ open up ↑
 600  600                                           Symbol* signature, //anything at all
 601  601                                           Handle method_type,
 602  602                                           TRAPS);
 603  603    // these operate only on invoke methods:
 604  604    oop method_handle_type() const;
 605  605    static jint* method_type_offsets_chain();  // series of pointer-offsets, terminated by -1
 606  606    // presize interpreter frames for extra interpreter stack entries, if needed
 607  607    // method handles want to be able to push a few extra values (e.g., a bound receiver), and
 608  608    // invokedynamic sometimes needs to push a bootstrap method, call site, and arglist,
 609  609    // all without checking for a stack overflow
 610      -  static int extra_stack_entries() { return (EnableMethodHandles ? (int)MethodHandlePushLimit : 0) + (EnableInvokeDynamic ? 3 : 0); }
      610 +  static int extra_stack_entries() { return EnableInvokeDynamic ? (int) MethodHandlePushLimit + 3 : 0; }
 611  611    static int extra_stack_words();  // = extra_stack_entries() * Interpreter::stackElementSize()
 612  612  
 613  613    // RedefineClasses() support:
 614  614    bool is_old() const                               { return access_flags().is_old(); }
 615  615    void set_is_old()                                 { _access_flags.set_is_old(); }
 616  616    bool is_obsolete() const                          { return access_flags().is_obsolete(); }
 617  617    void set_is_obsolete()                            { _access_flags.set_is_obsolete(); }
 618  618    // see the definition in methodOop.cpp for the gory details
 619  619    bool should_not_be_cached() const;
 620  620  
↓ open down ↓ 213 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX