netty5/codec-http2/src/test/java/io/netty/handler/codec/http2
Scott Mitchell 4d8132ff24 DefaultPromise make listeners not volatile
Motivation:
DefaultPromise has a listeners member variable which is volatile to allow for an optimization which makes notification of listeners less expensive when there are no listeners to notify. However this change makes all other operations involving the listeners member variable more costly. This optimization which requires listeners to be volatile can be removed to avoid volatile writes/reads for every access on the listeners member variable.

Modifications:
- DefaultPromise listeners is made non-volatile and the null check optimization is removed

Result:
DefaultPromise.listeners is no longer volatile.
2016-07-07 08:01:25 +02:00
..
internal/hpack HPACK Encoder headerFields improvements 2016-06-30 09:00:12 -07:00
DataCompressionHttp2Test.java Remove usages of deprecated methods group() and childGroup(). 2016-06-21 14:06:57 +02:00
DefaultHttp2ConnectionDecoderTest.java HTTP/2 Decoder validate that GOAWAY lastStreamId doesn't increase 2016-06-29 07:53:13 -07:00
DefaultHttp2ConnectionEncoderTest.java HTTP/2 Don't Flow Control Iniital Headers 2016-02-01 13:37:43 -08:00
DefaultHttp2ConnectionTest.java DefaultHttp2Connection.close Reentrant Modification 2016-05-09 14:16:30 -07:00
DefaultHttp2HeadersDecoderTest.java Optimize HPACK usage to align more with Netty types and remove heavy object creations. Related to [#3597] 2016-06-22 14:26:05 +02:00
DefaultHttp2HeadersEncoderTest.java Headers Performance Boost and Interface Simplification 2015-08-17 08:50:11 -07:00
DefaultHttp2HeadersTest.java HTTP/2 HPACK Header Name Validation and Trailing Padding 2016-05-17 13:42:16 -07:00
DefaultHttp2HeaderTableListSizeTest.java Headers Performance Boost and Interface Simplification 2015-08-17 08:50:11 -07:00
DefaultHttp2LocalFlowControllerTest.java Add HTTP/2 local flow control option for auto refill 2015-11-05 15:47:10 -08:00
DefaultHttp2RemoteFlowControllerTest.java Fix NPE in Http2ConnectionHandler.onHttpServerUpgrade 2016-05-25 09:13:06 -07:00
HashCollisionTest.java Remove unsafe char[] access in PlatformDependent 2016-06-30 08:58:28 -07:00
Http2ConnectionHandlerTest.java DefaultPromise make listeners not volatile 2016-07-07 08:01:25 +02:00
Http2ConnectionRoundtripTest.java Remove usages of deprecated methods group() and childGroup(). 2016-06-21 14:06:57 +02:00
Http2FrameCodecTest.java Split Http2MultiplexCodec into Frame- and MultiplexCodec + Tests. Fixes #4914 2016-06-29 07:22:09 +02:00
Http2FrameRoundtripTest.java http2: count pad length field toward flow control. Fixes #5434 2016-06-25 09:51:36 -07:00
Http2HeaderBlockIOTest.java HTTP/2 Header Name Validation 2015-09-09 13:59:08 -07:00
Http2MultiplexCodecTest.java Split Http2MultiplexCodec into Frame- and MultiplexCodec + Tests. Fixes #4914 2016-06-29 07:22:09 +02:00
Http2ServerDowngraderTest.java Fix one more possible leak as a follow up of 341a235fea 2016-05-13 18:38:37 +02:00
Http2SettingsTest.java Make IntObjectHashMap extend Map 2015-07-22 15:52:27 -07:00
Http2TestUtil.java HTTP/2 Headers Type Updates 2015-10-30 15:29:44 -07:00
HttpToHttp2ConnectionHandlerTest.java Remove usages of deprecated methods group() and childGroup(). 2016-06-21 14:06:57 +02:00
InboundHttp2ToHttpAdapterTest.java Remove usages of deprecated methods group() and childGroup(). 2016-06-21 14:06:57 +02:00
StreamBufferingEncoderTest.java Revamp the Http2ConnectionHandler builder API 2015-12-17 14:08:13 +09:00
UniformStreamByteDistributorFlowControllerTest.java HTTP/2 DefaultHttp2RemoteFlowController Stream writability notification broken 2015-12-21 10:01:33 +01:00
UniformStreamByteDistributorTest.java HTTP/2 UniformStreamByteDistributor negative window shouldn't write 2015-12-23 10:14:24 -08:00
WeightedFairQueueByteDistributorTest.java DefaultHttp2Connection.close Reentrant Modification 2016-05-09 14:16:30 -07:00
WeightedFairQueueRemoteFlowControllerTest.java HTTP/2 DefaultHttp2RemoteFlowController Stream writability notification broken 2015-12-21 10:01:33 +01:00