Mercurial > hg > graal-compiler
diff src/share/vm/prims/methodHandleWalk.hpp @ 3366:e2a92dd0d3d2
7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
Reviewed-by: jrose, never, kvn
author | twisti |
---|---|
date | Tue, 10 May 2011 00:45:03 -0700 |
parents | 328926869b15 |
children | fabcf26ee72f |
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandleWalk.hpp Mon May 09 19:45:52 2011 -0700 +++ b/src/share/vm/prims/methodHandleWalk.hpp Tue May 10 00:45:03 2011 -0700 @@ -247,6 +247,7 @@ class MethodHandleCompiler : public MethodHandleWalker { private: methodHandle _callee; + int _invoke_count; // count the original call site has been executed KlassHandle _rklass; // Return type for casting. BasicType _rtype; KlassHandle _target_klass; @@ -416,7 +417,7 @@ methodHandle get_method_oop(TRAPS) const; public: - MethodHandleCompiler(Handle root, methodHandle call_method, bool for_invokedynamic, TRAPS); + MethodHandleCompiler(Handle root, methodHandle call_method, int invoke_count, bool for_invokedynamic, TRAPS); // Compile the given MH chain into bytecode. methodHandle compile(TRAPS);