netty5/common/src/main/java/io/netty/util
Trustin Lee 568295d6c0 Simplify native library resolution using os-maven-plugin
Motivation:

So far, we used a very simple platform string such as linux64 and
linux32.  However, this is far from perfection because it does not
include anything about the CPU architecture.

Also, the current build tries to put multiple versions of .so files into
a single JAR.  This doesn't work very well when we have to ship for many
different platforms.  Think about shipping .so/.dynlib files for both
Linux and Mac OS X.

Modification:

- Use os-maven-plugin as an extension to determine the current OS and
  CPU architecture reliable at build time
- Use Maven classifier instead of trying to put all shared libraries
  into a single JAR
- NativeLibraryLoader does not guess the OS and bit mode anymore and it
  always looks for the same location regardless of platform, because the
  Maven classifier does the job instead.

Result:

Better scalable native library deployment and retrieval
2014-05-02 04:22:11 +09:00
..
concurrent [#2307] Remove synchronized bottleneck in SingleThreadEventExecutor.execute(...) 2014-03-13 09:45:05 +01:00
internal Simplify native library resolution using os-maven-plugin 2014-05-02 04:22:11 +09:00
AbstractReferenceCounted.java [#2187] Always do a volatile read on the refCnt 2014-02-07 09:23:16 +01:00
Attribute.java Fix regression in DefaultAttributeMap / Add Attribute.key() / More fine-grained locking 2013-02-21 15:49:51 -08:00
AttributeKey.java Checkstyle 2013-10-25 21:04:10 +09:00
AttributeMap.java minor documentation cleanup 2013-07-20 08:01:14 +02:00
CharsetUtil.java Update license headers 2012-06-04 13:31:44 -07:00
DefaultAttributeMap.java Provide an optimized AtomicIntegerFieldUpdater, AtomicLongFieldUpdater and AtomicReferenceFieldUpdater 2014-02-06 20:08:45 +01:00
HashedWheelTimer.java Use StringUtil.simpleClassName(..) instead of Class.getSimpleName() where necessary 2013-11-04 19:46:15 +09:00
IllegalReferenceCountException.java ReferenceCountException -> IllegalReferenceCountException 2013-06-13 14:00:15 +09:00
NetUtil.java Reduce the time taken by NetUtil class initialization 2014-03-21 13:02:37 +09: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 Fix checkstyle errors introduced by f0d1bbd63e 2014-03-12 13:57:01 +01:00
ReferenceCounted.java Move ReferenceCounted and AbstractReferenceCounted to io.netty.util 2013-06-13 13:14:21 +09:00
ReferenceCountUtil.java Add ReferenceCountUtil.releaseLater() to make writing tests easy with ReferenceCounteds 2013-12-06 15:13:00 +09:00
ResourceLeak.java Better buffer leak reporting 2013-12-05 00:51:39 +09:00
ResourceLeakDetector.java Cleaner resource leak report by excluding noisy stack trace elements 2014-01-29 11:53:23 +09:00
ResourceLeakException.java Ensure backward compatibility 2013-12-05 01:02:38 +09:00
Signal.java Deprecate UniqueName and its subtypes' constructors / Add valueOf() for easier future migration. 2013-10-25 20:53:47 +09:00
Timeout.java Simpler method naming in Timeout 2012-12-26 13:50:01 +09:00
Timer.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
TimerTask.java Update license headers 2012-06-04 13:31:44 -07:00
UniqueName.java Deprecate UniqueName and its subtypes' constructors / Add valueOf() for easier future migration. 2013-10-25 20:53:47 +09:00
Version.java [#2353] Use a privileged block to get ClassLoader and System property if needed 2014-04-08 13:59:03 +02:00