public ProfiledMethods( final Ruby runtime ) { if( runtime == null ) throw new IllegalArgumentException( "Given runtime must not be null." ); this.runtime = runtime; // TODO is 10000 a good value ? this.methods = new NonBlockingHashMapLong<>(10000); }
public ProfiledMethods( final Ruby runtime ) { if( runtime == null ) throw new IllegalArgumentException( "Given runtime must not be null." ); this.runtime = runtime; // TODO is 10000 a good value ? this.methods = new NonBlockingHashMapLong<>(10000); }
cache = new NonBlockingHashMapLong<>(4, true); // 8 still uses MIN_SIZE_LOG == 4
cache = new NonBlockingHashMapLong<>(4, true); // 8 still uses MIN_SIZE_LOG == 4