Package org.jruby.util

Examples of org.jruby.util.ClassCache$KeyedClassReference


     *
     * @param loader use the provided classloader to create the cache
     * @return
     */
    public static ClassCache createClassCache(ClassLoader loader) {
        return new ClassCache(loader, new RubyInstanceConfig().getJitMax());
    }
View Full Code Here


       
        Runnable jitTask = new Runnable() {
            public void run() {
                try {
                    // The cache is full. Abandon JIT for this method and bail out.
                    ClassCache classCache = config.getClassCache();
                    if (classCache.isFull()) {
                        counts.abandonCount.incrementAndGet();
                        return;
                    }

                    // Check if the method has been explicitly excluded
View Full Code Here

TOP

Related Classes of org.jruby.util.ClassCache$KeyedClassReference

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.