Veebs
9a9f98ffcd
SPDY example app
2014-01-21 07:33:35 +01:00
Norman Maurer
ed8ee33661
[ #2058 ] Use correct MANIFEST.MF file for source jars
2014-01-20 14:41:40 +01:00
Trustin Lee
de5abdeb48
Move the reusable classes in netty-testsuite to main/java/src and deploy them
2014-01-09 18:43:13 +09:00
Trustin Lee
e83d2e0b4e
[maven-release-plugin] prepare for next development iteration
2013-12-22 21:57:48 +09:00
Trustin Lee
cdb700c7a4
[maven-release-plugin] prepare release netty-4.0.14.Final
2013-12-22 21:57:40 +09:00
Trustin Lee
0b7aedb13b
[maven-release-plugin] rollback the release of netty-4.0.14.Final
2013-12-22 21:53:24 +09:00
Trustin Lee
4bf6ec7171
[maven-release-plugin] prepare release netty-4.0.14.Final
2013-12-22 21:52:56 +09:00
Trustin Lee
372be721a1
Use the latest Git SCM provider
2013-12-22 21:48:50 +09:00
Trustin Lee
9c1a49c58e
[maven-release-plugin] rollback the release of netty-4.0.14.Final
2013-12-22 21:47:35 +09:00
Trustin Lee
008a049bf4
[maven-release-plugin] prepare for next development iteration
2013-12-22 21:43:55 +09:00
Trustin Lee
f6cb9088c6
[maven-release-plugin] prepare release netty-4.0.14.Final
2013-12-22 21:43:45 +09:00
Trustin Lee
8ea48bd602
Trying out an older version of release plugin
2013-12-22 21:37:45 +09:00
Trustin Lee
af0dbb9072
Use the recommended maven-release-plugin version
2013-12-22 21:23:49 +09:00
Trustin Lee
f65237861b
Potential fix for the release problem
2013-12-22 21:20:40 +09:00
Trustin Lee
836ac02ab9
Relax Maven version requirement
2013-12-21 16:23:52 +09:00
Trustin Lee
65b522a2a7
Better buffer leak reporting
...
- Remove the reference to ResourceLeak from the buffer implementations
and use wrappers instead:
- SimpleLeakAwareByteBuf and AdvancedLeakAwareByteBuf
- It is now allocator's responsibility to create a leak-aware buffer.
- Added AbstractByteBufAllocator.toLeakAwareBuffer() for easier
implementation
- Add WrappedByteBuf to reduce duplication between *LeakAwareByteBuf and
UnreleasableByteBuf
- Raise the level of leak reports to ERROR - because it will break the
app eventually
- Replace enabled/disabled property with the leak detection level
- Only print stack trace when level is ADVANCED or above to avoid user
confusion
- Add the 'leak' build profile, which enables highly detailed leak
reporting during the build
- Remove ResourceLeakException which is unsed anymore
2013-12-05 00:51:39 +09:00
Norman Maurer
17f5865e38
[maven-release-plugin] prepare for next development iteration
2013-11-29 19:31:01 +01:00
Norman Maurer
ead617fdcc
[maven-release-plugin] prepare release netty-4.0.14.Beta1
2013-11-29 19:30:55 +01:00
Norman Maurer
6cf2748dbb
[maven-release-plugin] prepare for next development iteration
2013-11-28 15:04:51 +01:00
Norman Maurer
5fe7596f49
[maven-release-plugin] prepare release netty-4.0.13.Final
2013-11-28 15:04:46 +01:00
Trustin Lee
6ade866d24
Fix maven-bundle-plugin life cycle mapping in Eclipse
2013-11-27 18:56:05 +09:00
Trustin Lee
407f0a36f5
Simplify bundle generation / Add io.netty.versions.properties to all JARs
...
- Fixes #2003 properly
- Instead of using 'bundle' packaging, use 'jar' packaging. This is
more robust because some strict build tools fail to retrieve the
artifacts from a Maven repository unless their packaging is not 'jar'.
- All artifacts now contain META-INF/io.netty.version.properties, which
provides the detailed information about the build and repository.
- Removed OSGi testsuite temporarily because it gives false errors
during split package test and examination.
- Add io.netty.util.Version for easy retrieval of version information
2013-11-26 22:01:46 +09:00
Norman Maurer
5386882c54
[ #2003 ] Generate a io.netty.util.Version class which holds the version
2013-11-24 13:40:47 +01:00
Norman Maurer
db78581bbb
[maven-release-plugin] prepare for next development iteration
2013-11-07 18:11:45 +01:00
Norman Maurer
2386777af8
[maven-release-plugin] prepare release netty-4.0.12.Final
2013-11-07 18:11:38 +01:00
Norman Maurer
ceab146b54
[maven-release-plugin] prepare for next development iteration
2013-10-21 07:43:42 +02:00
Norman Maurer
27a89d6032
[maven-release-plugin] prepare release netty-4.0.11.Final
2013-10-21 07:41:49 +02:00
Norman Maurer
d7da19f745
[maven-release-plugin] prepare for next development iteration
2013-10-02 15:48:52 +02:00
Norman Maurer
d35768ae11
[maven-release-plugin] prepare release netty-4.0.10.Final
2013-10-02 15:48:45 +02:00
Norman Maurer
f76497fe25
Set memory for compiler as otherwise it sometimes fails here
2013-09-10 18:38:15 +02:00
Norman Maurer
ffab456aca
Bump up version to reflect correct one
2013-09-09 11:20:12 +02:00
Norman Maurer
363531caf9
[maven-release-plugin] rollback the release of netty-4.0.9.Final
2013-09-06 09:18:34 +02:00
Norman Maurer
9d53573ee8
[maven-release-plugin] prepare for next development iteration
2013-09-06 09:17:15 +02:00
Norman Maurer
2e39b25cd4
[maven-release-plugin] prepare for next development iteration
2013-08-26 12:01:03 +02:00
Norman Maurer
b67659a866
[maven-release-plugin] prepare release netty-4.0.8.Final
2013-08-26 12:00:54 +02:00
Norman Maurer
e954eb1c20
Disallow usage of maven 3.1.x (and higher) because of non compability with plugins
2013-08-08 20:43:26 +02:00
Norman Maurer
1d3560e389
[maven-release-plugin] prepare for next development iteration
2013-08-08 13:53:28 +02:00
Norman Maurer
8e97e6c461
[maven-release-plugin] prepare release netty-4.0.7.Final
2013-08-08 13:53:19 +02:00
Norman Maurer
3f2000fa3a
[maven-release-plugin] prepare for next development iteration
2013-08-01 10:59:55 +02:00
Norman Maurer
3f70d5caa4
[maven-release-plugin] prepare release netty-4.0.6.Final
2013-08-01 10:59:46 +02:00
Norman Maurer
e3410680de
[maven-release-plugin] prepare for next development iteration
2013-07-31 20:08:14 +02:00
Norman Maurer
0e124583d6
[maven-release-plugin] prepare release netty-4.0.5.Final
2013-07-31 20:08:05 +02:00
Norman Maurer
0bc7d3f5d1
[maven-release-plugin] prepare for next development iteration
2013-07-23 10:04:23 +02:00
Norman Maurer
ca00182797
[maven-release-plugin] prepare release netty-4.0.4.Final
2013-07-23 10:04:14 +02:00
Trustin Lee
b130ee6a6c
[maven-release-plugin] prepare for next development iteration
2013-07-18 11:17:42 +09:00
Trustin Lee
10d395e829
[maven-release-plugin] prepare release netty-4.0.3.Final
2013-07-18 11:17:31 +09:00
Norman Maurer
fc7c950b08
[maven-release-plugin] prepare for next development iteration
2013-07-17 15:58:36 +02:00
Norman Maurer
bbbf72359e
[maven-release-plugin] prepare release netty-4.0.2.Final
2013-07-17 15:58:28 +02:00
Trustin Lee
57eb531eb8
[maven-release-plugin] prepare for next development iteration
2013-07-16 17:16:10 +09:00
Trustin Lee
76cefcc421
[maven-release-plugin] prepare release netty-4.0.1.Final
2013-07-16 17:15:54 +09:00
Norman Maurer
5297eba280
[maven-release-plugin] prepare for next development iteration
2013-07-15 15:48:15 +02:00
Norman Maurer
c5d8af446a
[maven-release-plugin] prepare release netty-4.0.0.Final
2013-07-15 15:48:05 +02:00
Trustin Lee
246a3ecdcb
[maven-release-plugin] prepare for next development iteration
2013-07-15 20:58:33 +09:00
Trustin Lee
e8fd209115
[maven-release-plugin] prepare release netty-4.0.0.Final
2013-07-15 20:58:21 +09:00
Trustin Lee
85a3d320cb
Update dependency versions
2013-07-12 21:07:39 +09:00
Norman Maurer
ec5e793a2f
[maven-release-plugin] prepare for next development iteration
2013-07-02 11:41:18 +02:00
Norman Maurer
ca73eaef0d
[maven-release-plugin] prepare release netty-4.0.0.CR9
2013-07-02 11:41:09 +02:00
Norman Maurer
830c559405
[maven-release-plugin] rollback the release of netty-4.0.0.CR9
2013-07-02 11:34:29 +02:00
Norman Maurer
66a16b133c
[maven-release-plugin] prepare release netty-4.0.0.CR9
2013-07-02 10:45:12 +02:00
Trustin Lee
7e3a01cc51
[maven-release-plugin] prepare for next development iteration
2013-07-02 10:26:48 +09:00
Trustin Lee
149db34c19
[maven-release-plugin] prepare release netty-4.0.0.CR8
2013-07-02 10:26:32 +09:00
Trustin Lee
613547b0b9
[maven-release-plugin] prepare for next development iteration
2013-06-28 22:15:33 +09:00
Trustin Lee
a6abd2feb2
[maven-release-plugin] prepare release netty-4.0.0.CR7
2013-06-28 22:15:20 +09:00
Trustin Lee
a6795d7780
[maven-release-plugin] prepare for next development iteration
2013-06-25 11:07:15 +09:00
Trustin Lee
2221446425
[maven-release-plugin] prepare release netty-4.0.0.CR6
2013-06-25 11:07:15 +09:00
Trustin Lee
8570c717ad
Upgrade to javassist 3.18.0-GA
2013-06-25 11:07:13 +09:00
Trustin Lee
a5871dfd86
[maven-release-plugin] prepare for next development iteration
2013-06-14 12:55:15 +09:00
Trustin Lee
f5377cc8d7
[maven-release-plugin] prepare release netty-4.0.0.CR5
2013-06-14 12:55:05 +09:00
Trustin Lee
e5ca6518ba
[maven-release-plugin] prepare for next development iteration
2013-06-13 17:02:32 +09:00
Trustin Lee
381063e09c
[maven-release-plugin] prepare release netty-4.0.0.CR4
2013-06-13 17:02:19 +09:00
Trustin Lee
f002d539e1
Upgrade dependencies
2013-06-13 16:56:50 +09:00
Trustin Lee
7eb0f6105d
Fix memory leaks
2013-06-13 13:32:47 +09:00
Trustin Lee
14158070bf
Revamp the core API to reduce memory footprint and consumption
...
The API changes made so far turned out to increase the memory footprint
and consumption while our intention was actually decreasing them.
Memory consumption issue:
When there are many connections which does not exchange data frequently,
the old Netty 4 API spent a lot more memory than 3 because it always
allocates per-handler buffer for each connection unless otherwise
explicitly stated by a user. In a usual real world load, a client
doesn't always send requests without pausing, so the idea of having a
buffer whose life cycle if bound to the life cycle of a connection
didn't work as expected.
Memory footprint issue:
The old Netty 4 API decreased overall memory footprint by a great deal
in many cases. It was mainly because the old Netty 4 API did not
allocate a new buffer and event object for each read. Instead, it
created a new buffer for each handler in a pipeline. This works pretty
well as long as the number of handlers in a pipeline is only a few.
However, for a highly modular application with many handlers which
handles connections which lasts for relatively short period, it actually
makes the memory footprint issue much worse.
Changes:
All in all, this is about retaining all the good changes we made in 4 so
far such as better thread model and going back to the way how we dealt
with message events in 3.
To fix the memory consumption/footprint issue mentioned above, we made a
hard decision to break the backward compatibility again with the
following changes:
- Remove MessageBuf
- Merge Buf into ByteBuf
- Merge ChannelInboundByte/MessageHandler and ChannelStateHandler into ChannelInboundHandler
- Similar changes were made to the adapter classes
- Merge ChannelOutboundByte/MessageHandler and ChannelOperationHandler into ChannelOutboundHandler
- Similar changes were made to the adapter classes
- Introduce MessageList which is similar to `MessageEvent` in Netty 3
- Replace inboundBufferUpdated(ctx) with messageReceived(ctx, MessageList)
- Replace flush(ctx, promise) with write(ctx, MessageList, promise)
- Remove ByteToByteEncoder/Decoder/Codec
- Replaced by MessageToByteEncoder<ByteBuf>, ByteToMessageDecoder<ByteBuf>, and ByteMessageCodec<ByteBuf>
- Merge EmbeddedByteChannel and EmbeddedMessageChannel into EmbeddedChannel
- Add SimpleChannelInboundHandler which is sometimes more useful than
ChannelInboundHandlerAdapter
- Bring back Channel.isWritable() from Netty 3
- Add ChannelInboundHandler.channelWritabilityChanges() event
- Add RecvByteBufAllocator configuration property
- Similar to ReceiveBufferSizePredictor in Netty 3
- Some existing configuration properties such as
DatagramChannelConfig.receivePacketSize is gone now.
- Remove suspend/resumeIntermediaryDeallocation() in ByteBuf
This change would have been impossible without @normanmaurer's help. He
fixed, ported, and improved many parts of the changes.
2013-06-10 16:10:39 +09:00
Norman Maurer
81e3c1719a
[maven-release-plugin] prepare for next development iteration
2013-05-18 09:59:13 +02:00
Norman Maurer
99caefdf39
[maven-release-plugin] prepare release netty-4.0.0.CR3
2013-05-18 09:57:11 +02:00
Trustin Lee
41f5d5650d
Add Javadoc to tarball / Upgrade maven-compiler-plugin
...
- Fixes #1360
2013-05-17 18:32:27 +09:00
Andrei.Pozolotin
feab823bfb
use barchardt-udt 2.3.0 release. This fixes #1290 and 1329
2013-05-14 06:54:46 +02:00
Andrei Pozolotin
57a459d970
updated udt and connection test
2013-05-14 06:46:07 +02:00
Trustin Lee
c3b0a9c6b8
Fix duplicate invocation of same plugins due to needless fork of maven-source-plugin
...
- Fixes #1355
2013-05-13 16:03:00 +09:00
Norman Maurer
c43950a03f
[maven-release-plugin] prepare for next development iteration
2013-05-08 18:19:51 +02:00
Norman Maurer
ae76502040
[maven-release-plugin] prepare release netty-4.0.0.CR2
2013-05-08 18:19:38 +02:00
kerr
4bac0443e8
update to barchart-udt 2.2.6
...
* which fix https://github.com/barchart/barchart-udt/issues/48
2013-04-28 10:52:34 +02:00
Trustin Lee
6bb00cea6f
Fix failures in testsuite-osgi-deps
...
- Make only netty-common depend on javassist at compile scope, and
all others at test scope
2013-04-19 05:57:53 +09:00
Trustin Lee
7ccbcb90af
Upgrade to netty-build-19
2013-04-05 05:38:24 +09:00
Andrei Pozolotin
a3e760a003
fix #1234 - duplicate package-info.java errors in eclipse requires release of netty-build v 19 and netty-parent update.
2013-04-05 05:38:05 +09:00
Prajwal Tuladhar
05850da863
enable checkstyle for test source directory and fix checkstyle errors
2013-03-30 13:18:57 +01:00
Prajwal Tuladhar
c2cd99d90c
upgrade to maven 3.0.5
...
As Netty is using its own CI now
2013-03-28 21:49:36 +01:00
Norman Maurer
59012390f6
Fix version numbering
2013-03-25 08:01:11 +01:00
Norman Maurer
7d7b676eeb
[maven-release-plugin] prepare for next development iteration
2013-03-22 15:20:35 +01:00
Norman Maurer
60fc7dac4d
[maven-release-plugin] prepare release netty-4.0.0.CR1
2013-03-22 15:20:11 +01:00
Trustin Lee
e147615ddd
Upgrade to the latest maven-checkstyle-plugin
2013-03-22 14:49:37 +09:00
Trustin Lee
ffdc2a6b11
Upgrade dependencies
2013-03-22 11:57:15 +09:00
kerr
9175abc451
Update pom.xml
...
update the barchart-udt to 2.2.5
2013-03-21 08:38:48 +01:00
Trustin Lee
f70babcd94
Upgrade to Karaf 3.0.0.RC1
2013-03-19 15:56:20 +09:00
Trustin Lee
2a87950784
[maven-release-plugin] prepare for next development iteration
2013-03-16 18:41:36 +09:00
Trustin Lee
adfb29330b
[maven-release-plugin] prepare release netty-4.0.0.Beta3
2013-03-16 18:40:59 +09:00
Trustin Lee
e69b99fca4
Allow overriding JVM options for tests
2013-03-16 10:15:42 +09:00
Trustin Lee
8372e2ffc9
Skip OSGi testsuite if 'no-osgi' profile is active
2013-03-14 17:21:53 +09:00
Trustin Lee
c25513d5e1
Upgrade to protobuf 2.5 and take advantage of MessageLite.getParserFromType()
...
- also fall back to MessageBuilder if getParserFromType() is not available.
2013-03-12 16:25:35 +09:00
Trustin Lee
27b2f1304b
Why don't CI services upgrade to Maven 3.0.5?
...
Do they just wait for someone to exploit the vulnerability?
2013-03-11 09:11:11 +09:00
Trustin Lee
49aa907bd0
[maven-release-plugin] prepare for next development iteration
2013-02-26 16:55:07 -08:00
Trustin Lee
5026c2f359
[maven-release-plugin] prepare release netty-4.0.0.Beta2
2013-02-26 16:54:53 -08:00
Trustin Lee
671f9d48d4
Use ConcurrentHashMapV8 wherever possible
...
- Fixes #1052
2013-02-26 15:54:51 -08:00
Trustin Lee
e65e17c724
Require Maven 3.0.5 to stop users from using insecure 3.0.4
2013-02-23 21:10:53 -08:00
Norman Maurer
b56f60c7ff
Make jzlib dependency avaible in example for zlib
2013-02-21 06:59:16 +01:00
Atsuhiko Yamanaka
8fdf788cbd
[ #1012 ] Replace forked jzlib with official jzlib and add a test.
2013-02-20 12:49:05 +01:00
Trustin Lee
ee58de0698
Require Maven 3.0.4
...
.. because testsuite-osgi already requires that
2013-02-15 15:58:09 -08:00
Trustin Lee
d68a04a879
[maven-release-plugin] prepare for next development iteration
2013-02-14 12:56:24 -08:00
Trustin Lee
59e638f8f5
[maven-release-plugin] prepare release netty-4.0.0.Beta1
2013-02-14 12:56:15 -08:00
Trustin Lee
27e0ec1586
Indentation fixes
2013-02-14 12:21:30 -08:00
Trustin Lee
ba4c0e6194
Add microbench to the module list
2013-02-14 11:52:28 -08:00
Trustin Lee
e0cdeaaa2a
Revert the bad commit from maven-release-plugin
2013-02-14 11:47:03 -08:00
Trustin Lee
aa64209f9f
[maven-release-plugin] rollback the release of netty-4.0.0.Beta1
2013-02-14 11:45:49 -08:00
Trustin Lee
6fc86d0454
Comment out compiler options to work around MRELEASE-715
2013-02-14 11:37:49 -08:00
Trustin Lee
1e32835fbc
Include testsuite-osgi as part of the build
2013-02-14 11:33:51 -08:00
Trustin Lee
c457c3e6d6
Rename verify -> testsuite-osgi / Ensure testsuite-osgi runs without ~/.m2/settings.xml changes
2013-02-14 11:27:26 -08:00
Trustin Lee
1f3068fc6a
Remove UTF-8 encoding configuration spread over poms
2013-02-14 11:19:05 -08:00
Trustin Lee
54d44c6ac1
Use byte code generation if Javassist is available.
2013-02-08 21:45:14 +09:00
Norman Maurer
d98fbf7a82
Upgrade to new barchart-udt-bundle
2013-02-06 21:31:30 +01:00
Andrei Pozolotin
f24872c566
[ #1010 ] Add verify module to check osgi bundles
2013-02-06 20:13:07 +01:00
Norman Maurer
56b1a18de0
Upgrade barchart udt bundle
2013-02-06 08:04:49 +01:00
Norman Maurer
fd75615d7a
[ #870 ] Convert all modules into osgi bundles
2013-02-06 07:57:11 +01:00
Trustin Lee
598e70fd8f
Upgrade to netty-build-16
2013-02-05 18:48:19 +09:00
Trustin Lee
1f2aca02da
Add more compiler plugin options to make compilerArguments works
2013-01-31 21:02:56 +09:00
Trustin Lee
db37652f2a
Add compiler options to find unchecked/deprecated code
2013-01-31 20:57:58 +09:00
Trustin Lee
b46760f93f
Upgrade to netty-build-15 to fix build issues
2013-01-31 14:11:54 +09:00
Trustin Lee
7c50c1e2e6
Make Bootstrap and ServerBootstrap implement Cloneable and rename duplicate() to clone()
...
- Fixes #997
- Replace duplicate() with clone()
- Add copy constructor for simplicity
- Can now clone invalid/incomplete bootstrap
- Upgrade to netty-build-14 to disable SuperClone checkstyle module
- Finalize class hierarchy so no subclasses are introduced
2013-01-30 21:12:42 +09:00
Trustin Lee
b60e0b6a51
Modernize InternalLogger API and enable logging framework autodetection
...
- Borrow SLF4J API which is the best of the best
- InternalLoggerFactory now automatically detects the logging framework
using static class loading. It tries SLF4J, Log4J, and then falls back
to java.util.logging.
- Remove OsgiLogger because it is very likely that OSGi container
already provides a bridge for existing logging frameworks
- Remove JBossLogger because the latest JBossLogger implementation seems
to implement SLF4J binding
- Upgrade SLF4J to 1.7.2
- Remove tests for the untestable logging frameworks
- Remove TestAny
2013-01-19 20:50:52 +09:00
Trustin Lee
f670a7c923
Enable resource leak detection during test
2013-01-18 12:01:33 +09:00
Trustin Lee
24acfe7008
Remove io.netty.monitor as discussed in #922
2013-01-18 11:08:57 +09:00
Trustin Lee
ad15155f04
Ensure cascaded derivation of a buffer does not result in an infinitely nested buffer.
2013-01-17 13:55:48 +09:00
Trustin Lee
753d0bfbae
Remove the memory option previously added to avoid OOME
...
We don't see OOME anymore
2013-01-10 16:25:41 +09:00
Trustin Lee
eb337ff5a7
Fix various inspection warnings
2013-01-10 15:23:58 +09:00
Luke Wood
c094abad7b
[ #561 ] [ #912 ] Add Rxtx transport
2013-01-09 21:32:51 +01:00
Andrei.Pozolotin
20aa2e1968
[ #844 ] [ #867 ] Add UDT transport
2013-01-07 21:06:22 +01:00
Norman Maurer
ccb5409f58
[ #884 ] Split SCTP transport into extra module
2013-01-03 22:19:06 +01:00
Norman Maurer
37a3f2e3b8
[ #887 ] [ #866 ] [ #883 ] Add unified interface for Message oriented protocols and also use direct buffers for them
2013-01-03 18:15:53 +01:00
Norman Maurer
213c1e3d23
Replace sun.net.util.IPAddressUtil usage with own implementation
2012-12-29 18:13:44 +01:00
Trustin Lee
b4fb6a49ee
Remove codec-snappy from the module list
2012-12-19 18:28:34 +09:00
Luke Wood
43e40d6af6
Add Snappy compression codec
2012-12-18 21:09:31 +01:00
Norman Maurer
42f6a27235
Allow modify the config even before the channel is registered to the eventLoop
2012-12-14 15:10:10 +01:00
Trustin Lee
8945ce17ad
Update license notices and dependencies
2012-12-14 00:38:05 +09:00
Trustin Lee
ad10518fca
Fix the incorrect snapshot version number
2012-12-13 22:49:31 +09:00
Trustin Lee
b47fc77522
Add PooledByteBufAllocator + microbenchmark module
...
This pull request introduces the new default ByteBufAllocator implementation based on jemalloc, with a some differences:
* Minimum possible buffer capacity is 16 (jemalloc: 2)
* Uses binary heap with random branching (jemalloc: red-black tree)
* No thread-local cache yet (jemalloc has thread-local cache)
* Default page size is 8 KiB (jemalloc: 4 KiB)
* Default chunk size is 16 MiB (jemalloc: 2 MiB)
* Cannot allocate a buffer bigger than the chunk size (jemalloc: possible) because we don't have control over memory layout in Java. A user can work around this issue by creating a composite buffer, but it's not always a feasible option. Although 16 MiB is a pretty big default, a user's handler might need to deal with the bounded buffers when the user wants to deal with a large message.
Also, to ensure the new allocator performs good enough, I wrote a microbenchmark for it and made it a dedicated Maven module. It uses Google's Caliper framework to run and publish the test result (example)
Miscellaneous changes:
* Made some ByteBuf implementations public so that those who implements a new allocator can make use of them.
* Added ByteBufAllocator.compositeBuffer() and its variants.
* ByteBufAllocator.ioBuffer() creates a buffer with 0 capacity.
2012-12-13 22:35:06 +09:00
Trustin Lee
9c0b2ad75c
Update netty-build to the latest version
...
From this commit, checkstyle considers an unnecessary empty line as a
violation.
2012-12-04 16:46:46 +09:00
Norman Maurer
85c570505b
[maven-release-plugin] prepare for next development iteration
2012-12-03 20:34:05 +01:00
Norman Maurer
17d77ed160
[maven-release-plugin] prepare release netty-4.0.0.Alpha8
2012-12-03 20:33:49 +01:00
Trustin Lee
9018f8e5ca
Enable assertions only for Netty classes
2012-11-26 15:01:13 +09:00
Trustin Lee
d7f0351a85
Add JVM options for faster test runs
2012-11-26 14:53:15 +09:00
dantran
4107b08f29
Only generate OSGi manifest only at all-in-on sub module to reduce the complexity to the build
2012-11-19 06:27:18 +01:00
Norman Maurer
524fac5184
[ #748 ] Upgrade to yammer metrics 2.1.4
2012-11-18 12:23:44 +01:00
alexey
5d2b41c094
basic support for socks5 codec
2012-11-17 20:03:16 +01:00
Trustin Lee
b5d83a2407
Upgrade netty-build to 12
2012-11-14 16:32:44 +09:00
dantran
e236f5b77d
[ #154 ] [ #727 ] Use maven-plugin-plugin to generate OSGi manifest
2012-11-12 09:15:36 +01:00
Trustin Lee
02a43804d4
Upgrade netty-build to 11
2012-11-10 01:13:38 +09:00
Norman Maurer
313f777491
[maven-release-plugin] prepare for next development iteration
2012-11-05 23:08:39 +01:00
Norman Maurer
57da8222a4
[maven-release-plugin] prepare release netty-4.0.0.Alpha7
2012-11-05 23:08:28 +01:00
Norman Maurer
87cc67306f
[maven-release-plugin] prepare for next development iteration
2012-10-28 18:41:25 +01:00
Norman Maurer
7315490fca
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 18:41:17 +01:00
Norman Maurer
afc687436a
Revert "[maven-release-plugin] prepare release netty-4.0.0.Alpha6"
...
This reverts commit 95de4db0f1
.
2012-10-28 18:36:15 +01:00
Norman Maurer
16eb4ec713
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit e3e0776c20
.
2012-10-28 18:35:47 +01:00
Norman Maurer
e3e0776c20
[maven-release-plugin] prepare for next development iteration
2012-10-28 13:06:07 +01:00
Norman Maurer
95de4db0f1
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 13:05:59 +01:00
Olaf Bergner
ddd0734f43
Issue #65 : Provide distribution stats for HashedWheelTimer
...
First cut at implementing a generic abstraction layer for pluggable
metrics providers. This first cut is closely modeled after Yammer
Metrics. It remains to be seen if it is indeed flexibel enough to
support other providers.
Provide a default implementation of this new abstraction layer
based on Yammer Metrics.
Support pluggable Monitoring Providers using Java 6's ServiceLoader.
Use this new abstraction layer to provide stats on (a) number of
Timeouts executed per second and (b) distribution of absolute
deviation between scheduled and actual Timeout execution time in
HashedWheelTimer.
* Interface ValueDistributionMonitor, a monitor for histograms.
* Interface EventRateMonitor, a monitor for measuring the rate per time
unit of specific events.
* Interface ValueMonitor, a monitor for tracking an arbitrary datum's
current value
* Interface CounterMonitor, a monitor for incrementing/decrementing a
long value
* Interface MonitorRegistry, a registry for monitors that serves as the
interface between Netty and concrete metrics providers as e.g. Yammer
Metrics.
* Interface MonitorRegistryFactory, to be implemented by metrics
providers.
* Document how to use Netty's new monitoring support in javadocs for
package io.netty.monitor.
2012-10-25 23:10:15 +02:00
Trustin Lee
820af50b63
[maven-release-plugin] prepare for next development iteration
2012-09-28 17:57:40 +09:00
Trustin Lee
595e1067c7
[maven-release-plugin] prepare release netty-4.0.0.Alpha5
2012-09-28 17:57:04 +09:00
Trustin Lee
b3d568c4d2
de-duplicate plugin versions
2012-09-28 17:45:40 +09:00
Trustin Lee
0f0479547d
Upgrade to netty-build 10
2012-09-23 15:40:37 +09:00
norman
3295145e88
[maven-release-plugin] prepare for next development iteration
2012-09-13 10:40:52 +02:00
norman
42685759de
[maven-release-plugin] prepare release netty-4.0.0.Alpha4
2012-09-13 10:40:44 +02:00
Trustin Lee
f2538a996d
[maven-release-plugin] prepare for next development iteration
2012-08-30 16:47:52 +09:00
Trustin Lee
628c5598b3
[maven-release-plugin] prepare release netty-4.0.0.Alpha3
2012-08-30 16:46:58 +09:00
Trustin Lee
73720c422d
[maven-release-plugin] prepare for next development iteration
2012-08-21 15:41:04 +09:00
Trustin Lee
68bef8cb99
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 15:40:45 +09:00
Trustin Lee
4b1b0b8c18
Fix a build problem where javadoc is not attached to the all-in-one JAR
2012-08-21 15:37:04 +09:00
Trustin Lee
0a43350c66
[maven-release-plugin] prepare for next development iteration
2012-08-21 14:41:45 +09:00
Trustin Lee
56211fee59
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 14:39:59 +09:00
Trustin Lee
9028b611ce
Retry deployment if failed
2012-08-21 14:35:48 +09:00
Trustin Lee
0f0fffe488
Fix release quirks
2012-08-21 14:29:04 +09:00
Trustin Lee
a0e34fd93a
[maven-release-plugin] prepare for next development iteration
2012-08-21 14:13:38 +09:00
Trustin Lee
72ccf65093
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 14:13:17 +09:00
norman
061252e4b4
Allow to config read/write timeout for the AIO transport. See #509
2012-08-14 08:06:54 +02:00
Trustin Lee
b8a60dddd3
Fix m2e errors in Eclipse
2012-08-08 16:30:04 +09:00
Trustin Lee
5a613f379e
Make ByteBuf dynamic / Introduce an interface for composite buffers
...
- Replace ByteBufferBackedByteBuf with DirectByteBuf
- Make DirectByteBuf and HeapByteBuf dynamic
- Remove DynamicByteBuf
- Replace Unpooled.dynamicBuffer() with Unpooled.buffer() and
directBuffer()
- Remove ByteBufFactory (will be replaced with ByteBufPool later)
- Add ByteBuf.Unsafe (might change in the future)
2012-07-19 20:25:47 +09:00
Trustin Lee
2ef8b23ecd
Fix javadoc plugin errors
2012-07-11 00:33:53 +09:00
Trustin Lee
11de993efb
Upgrade maven-javadoc-plugin
2012-07-11 00:23:17 +09:00
Trustin Lee
7c2e09f7b2
Ensure tarball pom is updated during release:prepare
2012-07-11 00:11:10 +09:00
Trustin Lee
fbf54a6027
Add sonatype-oss-release profile
2012-07-11 00:00:36 +09:00
Trustin Lee
c588a8a40b
Fix the build issues found in the previous release process
2012-07-10 23:54:33 +09:00
Trustin Lee
d801459cb8
[maven-release-plugin] prepare for next development iteration
2012-07-10 23:11:33 +09:00
Trustin Lee
527f2f6c6e
[maven-release-plugin] prepare release netty-4.0.0.Alpha1
2012-07-10 23:10:48 +09:00
Trustin Lee
ac364e3bf3
Use the release version rather than the snapshot version when tagging
2012-07-10 23:04:09 +09:00
Trustin Lee
a487da1fcb
Update release options
2012-07-10 23:02:44 +09:00
Cruz Julian Bishop
8b5ab52a5b
Update dependencies to the latest stable versions
2012-07-07 14:30:25 +09:00
Norman Maurer
c165a38e15
Revert as it should be in nio2 branch "Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396 "
...
This reverts commit 18aaae3c2e
.
2012-07-07 14:30:24 +09:00
Trustin Lee
41a9c66f66
fullbuild -> full
2012-07-07 14:28:50 +09:00
Trustin Lee
4c2893e952
Add the tarball module
...
- Activated only when -Pfullbuild option is set or during release
2012-07-07 14:28:50 +09:00
Trustin Lee
aa3be3e1e8
Build all-in-one JAR on non-fullbuild.
2012-07-07 14:28:50 +09:00
norman
a5b6f1d615
Ignore NetworkChannel class. See #396
2012-07-03 13:52:33 +02:00
Norman Maurer
032912d938
Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396
2012-06-13 22:24:16 +02:00
Trustin Lee
ea5b294ce0
Build all-in-one JAR, xref, javadoc only on full build & release
2012-06-13 13:42:51 +09:00
Trustin Lee
234bd78efa
Generate all-in-one source JAR
2012-06-13 10:43:16 +09:00
Trustin Lee
8e55bfbc9c
Update dependency versions to the latest versions
2012-06-11 21:38:42 +09:00
Trustin Lee
86cf144b8a
Update the checkstyle rules
2012-06-09 05:07:34 +09:00
Trustin Lee
7c20426572
Do not use unreleased checkstyle rules
2012-06-08 19:30:06 +09:00
Trustin Lee
468a3228a4
Fit every line into 120 columns
2012-06-08 19:28:12 +09:00
Trustin Lee
e1a006cac4
Update to the latest checkstyle rules
2012-06-08 16:59:08 +09:00
Trustin Lee
1eced1e9e3
Update license headers
2012-06-04 13:31:44 -07:00
norman
14b2a0db99
Add JBoss Marshalling Encoder/Decoder. See #324
2012-05-30 19:09:54 -07:00
Trustin Lee
528b5c4328
Removed the modules that are not part of 4.0.0.Alpha1
...
- Will add them back before Beta1 is out
2012-05-27 19:28:28 -07:00
norman
805270c5d9
Finish support for UDP Multicast in UDP. See #216
2012-04-03 12:04:33 +02:00
norman
9b90e3191a
Finish support of NIO UDP multicast. This also change the methods to
...
return a ChannelFuture. See #216
2012-04-02 11:57:32 +02:00
norman
4eac8f6b70
Use jUnit Assume to "ignore" SCTP tests on non-unix operation systems
2012-04-02 07:34:15 +02:00
Norman Maurer
43db6d7050
Enable/Disable sctp tests based on the detected OS
2012-03-30 21:35:58 +02:00
Trustin Lee
5311257490
Upgrade to the latest netty-build version
2012-03-02 10:35:23 -08:00
Trustin Lee
b22ebbe430
Make #211 work with Java 5
...
* Use java.util.zip.Deflater only when running under Java 7
2012-03-01 15:52:57 -08:00
Trustin Lee
8ab9451086
Fix #208 - SslHandler does not use ChannelBufferFactory to create a new buffer
...
* Also fixed build failure caused by wrong fork mode
2012-02-29 09:19:18 -08:00
Trustin Lee
2f6d02da60
Run tests in random order
2012-02-28 10:38:45 -08:00
Trustin Lee
97b4876c08
Fix build errors with m2e
2012-02-20 16:01:28 -08:00
Trustin Lee
29cafcf842
Upgrade to netty-build v6
2012-02-07 17:41:12 +09:00
Trustin Lee
3b31daf8a3
Fix missing copyright headers
2012-02-07 17:26:55 +09:00
Trustin Lee
ae3e3e5abe
Fix a problem with M2E plugin
2012-02-07 15:30:41 +09:00
Trustin Lee
59e5f2f262
Upgrade to netty-build-4
2012-01-17 18:37:15 +09:00
Trustin Lee
783a7e5f9a
Fix all remaining checkstyle violations
2012-01-15 02:08:31 +09:00
Trustin Lee
0007e91923
RXTX -> Rxtx for consistent naming convention
2012-01-15 01:09:17 +09:00
Trustin Lee
26bb9576da
Use a separate netty-build release
2012-01-11 21:02:46 +09:00
Trustin Lee
099e689338
Make build success with checkstyle violations temporarilly
2012-01-11 20:22:54 +09:00
Trustin Lee
ebfc4513e0
Apply checkstyle to the build
...
Please note that the build will fail at the moment due to various checkstyle
violations which should be fixed soon
2012-01-11 20:16:14 +09:00
Trustin Lee
8663716d38
Issue #60 : Make the project multi-module
...
Split the project into the following modules:
* common
* buffer
* codec
* codec-http
* transport
* transport-*
* handler
* example
* testsuite (integration tests that involve 2+ modules)
* all (does nothing yet, but will make it generate netty.jar)
This commit also fixes the compilation errors with transport-sctp on
non-Linux systems. It will at least compile without complaints.
2011-12-28 19:44:04 +09:00
norman
86d39274c6
Exclude scpt from the build for now until it is moved to an extra
...
sub-module. See #120
2011-12-12 14:59:34 +01:00
Trustin Lee
c591707592
Attach Javadoc (it really works this time)
2011-12-09 19:05:14 +09:00
Trustin Lee
37f9d16b89
Attach Javadoc
2011-12-09 18:38:49 +09:00
Trustin Lee
85d94a0c4f
Attach Javadoc to sync with the central repo
2011-12-09 18:24:31 +09:00
Trustin Lee
c07a984671
Add maven-gpg-plugin to sync with the central repo
2011-12-09 15:47:19 +09:00
Trustin Lee
5351bdcdff
Add developers section to pom.xml
2011-12-09 15:22:00 +09:00
Trustin Lee
82aa0969e2
Add organization info
2011-12-09 14:49:10 +09:00
Trustin Lee
91681b5150
Do not expose @author and @version
2011-12-09 14:43:52 +09:00
Trustin Lee
9f41a5a1f8
Update license header / Remove JBoss style
2011-12-09 14:18:34 +09:00
Trustin Lee
6fdb7d9116
org.jboss.netty -> io.netty
2011-12-09 12:38:59 +09:00
Trustin Lee
84902a6e7a
Update compiler options
2011-12-09 12:26:45 +09:00
Trustin Lee
6d307734f1
Update enforcer rules and project URL
2011-12-09 12:24:14 +09:00
Trustin Lee
57b5c20433
Change groupId to io.netty / inherit Sonatype OSS
2011-12-09 11:52:12 +09:00
Trustin Lee
2a764d9d9f
Make build independent from JBoss.org M2 repository
2011-12-09 11:38:29 +09:00
Jestan Nirojan
0a99e8bb57
prepared merge with upstream
2011-12-08 00:27:23 +05:30
Jestan Nirojan
724ca7a913
merged with master
2011-12-07 23:17:11 +05:30
Jestan Nirojan
40e6a73e94
Merge branch 'master' of github.com:jestan/netty
2011-12-07 22:53:33 +05:30
Jestan Nirojan
3379a4c25d
1)replaced all netty link transfer queue by java 7 link transfer queue to avoid high cpu usage 2)optimized selector loop
2011-12-06 19:40:22 +05:30
Trustin Lee
a9a713ddcf
Remove DocBook from build
2011-12-03 20:02:25 +09:00
vibul
55940f500e
Added fix for m2eclipse error "Plugin execution not covered by lifecycle configuration" in pom.xml. See issue #87 .
2011-12-02 15:29:14 +11:00
Jestan Nirojan
78c949f282
Merge remote branch 'upstream/master'
2011-12-02 03:39:09 +05:30