netty5/common/src/main/java/io/netty/util
almson 1cc692dd7d Fix incorrect reachability assumption in ResourceLeakDetector (#8410)
Motivation:

trackedObject != null gives no guarantee that trackedObject remains reachable. This may cause problems related to premature finalization: false leak detector warnings.
 
Modifications:

Add private method reachabilityFence0 that works on JDK 8 and can be factored out into PlatformDependent. Later, it can be swapped for the real Reference.reachabilityFence.
 
Result:

No false leak detector warnings in future versions of JDK.
2018-10-24 22:15:13 +02:00
..
concurrent Don't re-arm timerfd each epoll_wait (#7816) 2018-09-11 13:38:38 +02:00
internal deprecate own ConcurrentSet for removal (#8340) 2018-10-15 19:36:05 +02:00
AbstractConstant.java Improvement: simplified AbstractConstant compareTo. 2016-08-03 09:53:49 +02:00
AbstractReferenceCounted.java Fix the error message in ReferenceCounted.release (#7921) 2018-05-08 20:09:16 +02:00
AsciiString.java Fix length calculation in AsciiString.indexOf(...) and so eliminate ArrayIndexOutOfBoundsException. (#8116) 2018-07-11 10:21:17 +01:00
AsyncMapping.java Allow to do async mappings in the SniHandler 2016-01-18 21:02:13 +01:00
Attribute.java [#4351] Add warnings for Attribute.remove() and Attribute.getAndRemove() 2016-07-29 15:12:36 +02:00
AttributeKey.java Fix errors reported by javadoc 2015-12-27 08:36:45 +01:00
AttributeMap.java Better implementation of AttributeMap and also add hasAttr(...). SeeĀ [#2439] 2014-05-15 06:47:42 +02:00
BooleanSupplier.java DefaultHttp2Connection.close Reentrant Modification 2016-05-09 14:16:30 -07:00
ByteProcessor.java HttpResponseStatus object allocation reduction 2018-01-24 22:01:52 -08:00
ByteProcessorUtils.java HttpResponseStatus object allocation reduction 2018-01-24 22:01:52 -08:00
CharsetUtil.java Fix javadoc issues 2017-02-22 07:31:07 +01:00
Constant.java Replace UniqueName with Constant and ConstantPool 2014-02-13 15:14:34 -08:00
ConstantPool.java Make methods 'static' where it missed 2017-02-23 11:01:57 +01:00
DefaultAttributeMap.java Cleanup : String.length() == 0 replaced with String.isEmpty, removed unnecessary assert, class cast 2017-02-14 15:36:42 +01:00
DomainMappingBuilder.java Replace DomainMappingBuilder with DomainNameMappingBuilder 2016-05-18 12:03:14 +02:00
DomainNameMapping.java Fix NPE when creating DomainNameMapping via a builder 2016-05-18 19:26:28 +09:00
DomainNameMappingBuilder.java Replace DomainMappingBuilder with DomainNameMappingBuilder 2016-05-18 12:03:14 +02:00
HashedWheelTimer.java Check if Log level is enabled before creating log statements (#8022) 2018-06-13 23:21:53 -07:00
HashingStrategy.java Removed unused imports 2016-01-04 14:32:29 +01:00
IllegalReferenceCountException.java ReferenceCountException -> IllegalReferenceCountException 2013-06-13 14:00:15 +09:00
IntSupplier.java Allow to customize NIO (channel) select strategies. 2016-03-30 15:01:25 -07:00
Mapping.java Overall clean-up of the initial SniHandler/DomainNameMapping work 2014-12-04 18:23:07 +09:00
NettyRuntime.java Enable configuring available processors 2017-04-23 10:31:17 +02:00
NetUtil.java NetUtil valid IP methods to accept CharSequence (#7827) 2018-04-01 08:39:43 +02:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
Recycler.java Recycler will produce npe error when multiple recycled at different thread 2018-08-27 08:58:40 +02:00
ReferenceCounted.java fix the typos 2017-04-20 04:56:09 +02:00
ReferenceCountUtil.java Motivation: Resource Leak Detector (RLD) tries to helpfully indicate where an object was last accessed and report the accesses in the case the object was not cleaned up. It handles lightly used objects well, but drops all but the last few accesses. 2017-10-19 12:21:21 -07:00
ResourceLeak.java Fix false-positives when using ResourceLeakDetector. 2016-12-04 09:01:39 +01:00
ResourceLeakDetector.java Fix incorrect reachability assumption in ResourceLeakDetector (#8410) 2018-10-24 22:15:13 +02:00
ResourceLeakDetectorFactory.java Deprecate and ignore ResourceLeakDetector's maxActive parameter 2017-02-08 19:59:58 -08:00
ResourceLeakException.java Ensure backward compatibility 2013-12-05 01:02:38 +09:00
ResourceLeakHint.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
ResourceLeakTracker.java Fix false-positives when using ResourceLeakDetector. 2016-12-04 09:01:39 +01:00
Signal.java Fix a bug where AbstractConstant.compareTo() returns 0 for different constants 2014-07-29 15:01:47 -07:00
SuppressForbidden.java Enable configuring available processors 2017-04-23 10:31:17 +02:00
ThreadDeathWatcher.java Set thread context classloader in a doPrivileged block 2018-01-25 10:55:34 +01:00
Timeout.java Simpler method naming in Timeout 2012-12-26 13:50:01 +09:00
Timer.java Added optional pending timeouts counter parameter to HashedWheelTimer constructor and ensured that pending timeouts don't exceed provided max pending timeouts. 2016-11-09 10:58:35 +01:00
TimerTask.java Update license headers 2012-06-04 13:31:44 -07:00
UncheckedBooleanSupplier.java EpollRecvByteAllocatorHandle doesn't inform delegate of more data 2017-02-13 17:42:24 -08:00
Version.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00