Package org.jruby.internal.runtime.methods

Examples of org.jruby.internal.runtime.methods.ProfilingDynamicMethod


        public CacheEntry newCacheEntry(DynamicMethod method, int token) {
            if (method.isUndefined()) {
                return new CacheEntry(method, token);
            }
            CacheEntry delegated = previous.newCacheEntry(method, token);
            return new CacheEntry(new ProfilingDynamicMethod(delegated.method), delegated.token);
        }
View Full Code Here


        public CacheEntry newCacheEntry(DynamicMethod method, int token) {
            if (method.isUndefined()) {
                return new CacheEntry(method, token);
            }
            CacheEntry delegated = previous.newCacheEntry(method, token);
            return new CacheEntry(new ProfilingDynamicMethod(delegated.method), delegated.token);
        }
View Full Code Here

        }

        @Override
        public DynamicMethod enhance( String name, DynamicMethod delegate ) {
            getRuntime().getProfiledMethods().addProfiledMethod( name, delegate );
            return new ProfilingDynamicMethod(delegate);
        }
View Full Code Here

TOP

Related Classes of org.jruby.internal.runtime.methods.ProfilingDynamicMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.