changeset 957:d6b6d3e40161

remove SelectSet._endPoints
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 13 Oct 2016 18:29:36 -0600
parents 1094975d013b
children fc521d2f098e
files src/org/eclipse/jetty/io/nio/SelectorManager.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SelectorManager.java	Thu Oct 13 18:11:01 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SelectorManager.java	Thu Oct 13 18:29:36 2016 -0600
@@ -194,8 +194,6 @@
 
 		private final SaneSelector _selector;
 
-		private ConcurrentMap<SelectChannelEndPoint,Object> _endPoints = new ConcurrentHashMap<SelectChannelEndPoint, Object>();
-
 		SelectSet() throws IOException
 		{
 			_selector = new SaneSelector();
@@ -294,14 +292,12 @@
 			SelectChannelEndPoint endp = new SelectChannelEndPoint(channel,this,sKey, _maxIdleTime);
 			endp.setConnection(getManager().newConnection(channel,endp, sKey.attachment()));
 			LOG.debug("created {}",endp);
-			_endPoints.put(endp,this);
 			return endp;
 		}
 
 		public void destroyEndPoint(SelectChannelEndPoint endp)
 		{
 			LOG.debug("destroyEndPoint {}",endp);
-			_endPoints.remove(endp);
 			endp.getConnection().onClose();
 		}