/** * Returns a value of a max class cache size. The default value is 0 when * security restriction is applied, or 4096 when no security restriction exists. * * @since JRuby 1.5.0. * * @return a value of a max class cache size. */ public int getJitMax() { return provider.getRubyInstanceConfig().getJitMax(); }
/** * Returns a value of a max class cache size. The default value is 0 when * security restriction is applied, or 4096 when no security restriction exists. * * @since JRuby 1.5.0. * * @return a value of a max class cache size. */ public int getJitMax() { return provider.getRubyInstanceConfig().getJitMax(); }
/** * Returns a value of a max class cache size. The default value is 0 when * security restriction is applied, or 4096 when no security restriction exists. * * @since JRuby 1.5.0. * * @return a value of a max class cache size. */ public int getJitMax() { return provider.getRubyInstanceConfig().getJitMax(); }
/** * Returns a value of a max class cache size. The default value is 0 when * security restriction is applied, or 4096 when no security restriction exists. * * @since JRuby 1.5.0. * * @return a value of a max class cache size. */ public int getJitMax() { return provider.getRubyInstanceConfig().getJitMax(); }
public int getJitMax() { return ruby.get().getInstanceConfig().getJitMax(); }
public int getJitMax() { return ruby.get().getInstanceConfig().getJitMax(); }
public int getJitMax() { return ruby.get().getInstanceConfig().getJitMax(); }
public int getJitMax() { return ruby.get().getInstanceConfig().getJitMax(); }
/** * Generate a class cache. This will end up setting max cache size per JRuby preferences * (e.g. jruby.jit.max). * * @param loader use the provided classloader to create the cache * @return */ public static ClassCache createClassCache(ClassLoader loader) { return new ClassCache(loader, new RubyInstanceConfig().getJitMax()); }
/** * Generate a class cache. This will end up setting max cache size per JRuby preferences * (e.g. jruby.jit.max). * * @param loader use the provided classloader to create the cache * @return */ public static ClassCache createClassCache(ClassLoader loader) { return new ClassCache(loader, new RubyInstanceConfig().getJitMax()); }