code: public static boolean tryToOptimizeSelector(Selector selector) {
  		OptimizedSelectedKeysSet selectedKeys = new OptimizedSelectedKeysSet();
  		try {
  			SELECTED_KEYS_FIELD.set(selector, selectedKeys);
  			PUBLIC_SELECTED_KEYS_FIELD.set(selector, selectedKeys);
  			return true;
  
  		} catch (IllegalAccessException e) {
  			logger.warn("Failed setting optimized set into selector", e);
  		}
  
  		return false;
  	}
docs: Replaces the selected keys field from {@link java.util.HashSet} in {@link sun.nio.ch.SelectorImpl}
  to {@link OptimizedSelectedKeysSet} to avoid overhead which causes a work of GC
  
  @param selector selector instance whose selected keys field is to be changed
  @return <code>true</code> on success