Norman Maurer
fd0d06ee39
Replace reflection usage with MethodHandles when performance matters ( #10097 )
...
Motivation:
As we have java8 as a minimum target we can use MethodHandles. We should do so when we expect to have a method called multiple times.
Modifications:
- Replace usage of reflection with MethodHandles where it makes sense
- Remove some code which was there to support java < 8
Result:
Faster code
2020-03-11 21:04:40 +01:00
Norman Maurer
e4fae1c98e
Remove UDT transport for Netty 5. ( #8578 )
...
Motivation:
The UDT transport was marked as @Deprecated a long time ago as the underlying native library is not really maintained anymore. We should remove it as part of Netty 5.
Modifications:
Remove UDT transport
Result:
Dont try to maintain a transport which uses an unmaintained native lib internally.
2018-11-20 19:26:20 +01:00
Norman Maurer
2c78dde749
Update version number to start working on Netty 5
2018-11-20 15:49:57 +01:00
root
3e7ddb36c7
[maven-release-plugin] prepare for next development iteration
2018-10-29 15:38:51 +00:00
root
9e50739601
[maven-release-plugin] prepare release netty-4.1.31.Final
2018-10-29 15:37:47 +00:00
root
2d7cb47edd
[maven-release-plugin] prepare for next development iteration
2018-09-27 19:00:45 +00:00
root
3a9ac829d5
[maven-release-plugin] prepare release netty-4.1.30.Final
2018-09-27 18:56:12 +00:00
root
a580dc7585
[maven-release-plugin] prepare for next development iteration
2018-08-24 06:36:33 +00:00
root
3fc789e83f
[maven-release-plugin] prepare release netty-4.1.29.Final
2018-08-24 06:36:06 +00:00
root
fcb19cb589
[maven-release-plugin] prepare for next development iteration
2018-07-27 04:59:28 +00:00
root
ff785fbe39
[maven-release-plugin] prepare release netty-4.1.28.Final
2018-07-27 04:59:06 +00:00
root
b4dbdc2036
[maven-release-plugin] prepare for next development iteration
2018-07-11 15:37:40 +00:00
root
1c16519ac8
[maven-release-plugin] prepare release netty-4.1.27.Final
2018-07-11 15:37:21 +00:00
root
7bb9e7eafe
[maven-release-plugin] prepare for next development iteration
2018-07-10 05:21:24 +00:00
root
8ca5421bd2
[maven-release-plugin] prepare release netty-4.1.26.Final
2018-07-10 05:18:13 +00:00
Norman Maurer
83710cb2e1
Replace toArray(new T[size]) with toArray(new T[0]) to eliminate zero-out and allow the VM to optimize. ( #8075 )
...
Motivation:
Using toArray(new T[0]) is usually the faster aproach these days. We should use it.
See also https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion .
Modifications:
Replace toArray(new T[size]) with toArray(new T[0]).
Result:
Faster code.
2018-06-29 07:56:04 +02:00
Norman Maurer
64bb279f47
[maven-release-plugin] prepare for next development iteration
2018-05-14 11:11:45 +00:00
Norman Maurer
c67a3b0507
[maven-release-plugin] prepare release netty-4.1.25.Final
2018-05-14 11:11:24 +00:00
Norman Maurer
b75f44db9a
[maven-release-plugin] prepare for next development iteration
2018-04-19 11:56:07 +00:00
Norman Maurer
04fac00c8c
[maven-release-plugin] prepare release netty-4.1.24.Final
2018-04-19 11:55:47 +00:00
root
0a61f055f5
[maven-release-plugin] prepare for next development iteration
2018-04-04 10:44:46 +00:00
root
8c549bad38
[maven-release-plugin] prepare release netty-4.1.23.Final
2018-04-04 10:44:15 +00:00
Norman Maurer
69582c0b6c
[maven-release-plugin] prepare for next development iteration
2018-02-21 12:52:33 +00:00
Norman Maurer
786f35c6c9
[maven-release-plugin] prepare release netty-4.1.22.Final
2018-02-21 12:52:19 +00:00
Norman Maurer
e71fa1e7b6
[maven-release-plugin] prepare for next development iteration
2018-02-05 12:02:35 +00:00
Norman Maurer
41ebb5fcca
[maven-release-plugin] prepare release netty-4.1.21.Final
2018-02-05 12:02:19 +00:00
Norman Maurer
ea58dc7ac7
[maven-release-plugin] prepare for next development iteration
2018-01-21 12:53:51 +00:00
Norman Maurer
96c7132dee
[maven-release-plugin] prepare release netty-4.1.20.Final
2018-01-21 12:53:34 +00:00
Norman Maurer
264a5daa41
[maven-release-plugin] prepare for next development iteration
2017-12-15 13:10:54 +00:00
Norman Maurer
0786c4c8d9
[maven-release-plugin] prepare release netty-4.1.19.Final
2017-12-15 13:09:30 +00:00
Norman Maurer
b2bc6407ab
[maven-release-plugin] prepare for next development iteration
2017-12-08 09:26:15 +00:00
Norman Maurer
96732f47d8
[maven-release-plugin] prepare release netty-4.1.18.Final
2017-12-08 09:25:56 +00:00
Tomasz Jędrzejewski
e8540c2b7a
Adding stable JDK9 module names that follow reverse-DNS style
...
Automatic-Module-Name entry provides a stable JDK9 module name, when Netty is used in a modular JDK9 applications. More info: http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html
When Netty migrates to JDK9 in the future, the entry can be replaced by actual module-info descriptor.
Modification:
The POM-s are configured to put the correct module names to the manifest.
Result:
Fixes #7218 .
2017-11-29 11:50:24 +01:00
Norman Maurer
188ea59c9d
[maven-release-plugin] prepare for next development iteration
2017-11-08 22:36:53 +00:00
Norman Maurer
812354cf1f
[maven-release-plugin] prepare release netty-4.1.17.Final
2017-11-08 22:36:33 +00:00
Norman Maurer
625a7426cd
[maven-release-plugin] prepare for next development iteration
2017-09-25 06:12:32 +02:00
Norman Maurer
f57d8f00e1
[maven-release-plugin] prepare release netty-4.1.16.Final
2017-09-25 06:12:16 +02:00
Norman Maurer
b967805f32
[maven-release-plugin] prepare for next development iteration
2017-08-24 15:38:22 +02:00
Norman Maurer
da8e010a42
[maven-release-plugin] prepare release netty-4.1.15.Final
2017-08-24 15:37:59 +02:00
Carl Mastrangelo
03d89c2222
Use Constructor for reflective class instantiation.
...
Motivation:
Calling `newInstance()` on a Class object can bypass compile time
checked Exception propagation. This is noted in Java Puzzlers,
as well as in ErrorProne:
http://errorprone.info/bugpattern/ClassNewInstance
Modifications:
Use the niladic constructor to create a new instance.
Result:
Compile time safety for checked exceptions
2017-08-18 09:42:36 +02:00
Norman Maurer
52f384b37f
[maven-release-plugin] prepare for next development iteration
2017-08-02 12:55:10 +00:00
Norman Maurer
8cc1071881
[maven-release-plugin] prepare release netty-4.1.14.Final
2017-08-02 12:54:51 +00:00
Norman Maurer
2a376eeb1b
[maven-release-plugin] prepare for next development iteration
2017-07-06 13:24:06 +02:00
Norman Maurer
c7f8168324
[maven-release-plugin] prepare release netty-4.1.13.Final
2017-07-06 13:23:51 +02:00
Nikolay Fedorovskikh
1ba265ad4d
AbstractMethodError with barchart-udt
...
Motivation:
`SocketChannelUDT` from barchart-udt does not have the java 7 `public abstract SocketChannel bind(SocketAddress local)` method. Calling the abstract method `SocketChannel.bind(SocketAddress localAddress)` for `SocketChannelUDT` leads to an `AbstractMethodError` runtime error.
Modifications:
Make workaround with explicit call of `SocketChannelUDT.bind(SocketAddress local)` as it done in `NioUdtByteConnectorChannel`.
Result:
Fixes [#6934 ].
2017-07-05 07:35:32 +02:00
Norman Maurer
fd67a2354d
[maven-release-plugin] prepare for next development iteration
2017-06-08 21:06:24 +02:00
Norman Maurer
3acd5c68ea
[maven-release-plugin] prepare release netty-4.1.12.Final
2017-06-08 21:06:01 +02:00
Norman Maurer
0db2901f4d
[maven-release-plugin] prepare for next development iteration
2017-05-11 16:00:55 +02:00
Norman Maurer
f7a19d330c
[maven-release-plugin] prepare release netty-4.1.11.Final
2017-05-11 16:00:16 +02:00
Norman Maurer
6915ec3bb9
[maven-release-plugin] prepare for next development iteration
2017-04-29 14:10:00 +02:00