dubbo-hessian-lite.git
2 years agohessian
Haiyang [Wed, 11 Mar 2020 10:57:48 +0000 (18:57 +0800)] 
hessian

2 years agoMerge pull request #12 from CrazyHZM/floatBug, fix float accuracy issues
ken.lj [Sun, 17 Nov 2019 06:14:19 +0000 (14:14 +0800)] 
Merge pull request #12 from CrazyHZM/floatBug, fix float accuracy issues

3 years agoAdd hessian group info (#18)
Xin Wang [Sat, 17 Aug 2019 09:07:34 +0000 (17:07 +0800)] 
Add hessian group info (#18)

3 years agoUpdate .travis.yml
Xin Wang [Sat, 17 Aug 2019 08:29:27 +0000 (16:29 +0800)] 
Update .travis.yml

3 years agoUpdate .travis.yml
Xin Wang [Sat, 17 Aug 2019 08:11:12 +0000 (16:11 +0800)] 
Update .travis.yml

3 years agoUpdate README.md
Xin Wang [Sat, 17 Aug 2019 08:10:35 +0000 (16:10 +0800)] 
Update README.md

3 years agoUpdate README.md
Xin Wang [Mon, 1 Jul 2019 06:26:05 +0000 (14:26 +0800)] 
Update README.md

3 years agoUpdate README.md
Xin Wang [Tue, 4 Jun 2019 09:14:14 +0000 (17:14 +0800)] 
Update README.md

3 years agomodify 12/head
crazyhzm [Wed, 17 Apr 2019 09:17:59 +0000 (17:17 +0800)] 
modify

3 years agoadd test
crazyhzm [Sun, 14 Apr 2019 01:15:43 +0000 (09:15 +0800)] 
add test

3 years agoFix float accuracy issues
crazyhzm [Fri, 12 Apr 2019 09:53:30 +0000 (17:53 +0800)] 
Fix float accuracy issues

3 years agofix hessian2 deserializer bug #3640 (#8)
huazhongming [Tue, 19 Mar 2019 07:58:23 +0000 (15:58 +0800)] 
fix hessian2 deserializer bug #3640 (#8)

* fix hessian2 deserializer bug #3640

3 years agoUpdate README.md
Xin Wang [Wed, 20 Feb 2019 03:56:45 +0000 (11:56 +0800)] 
Update README.md

3 years agofix import * issue
Ian Luo [Sat, 2 Feb 2019 03:01:46 +0000 (11:01 +0800)] 
fix import * issue

3 years agoMerge pull request #7 from hopelove404/hessian-optimize-typenotfound
Ian Luo [Sat, 2 Feb 2019 02:54:45 +0000 (10:54 +0800)] 
Merge pull request #7 from hopelove404/hessian-optimize-typenotfound

Fix performance overhead caused by too much unknown classloading during hessian2 deserialization

3 years agofix frequent class loading for classes which are unknown to current classloader 7/head
lizhong [Wed, 30 Jan 2019 09:06:22 +0000 (17:06 +0800)] 
fix frequent class loading for classes which are unknown to current classloader

3 years agoConvert cobertura to jacoco (#5)
Xin Wang [Fri, 26 Oct 2018 15:02:43 +0000 (23:02 +0800)] 
Convert cobertura to jacoco (#5)

 update jacoco config

3 years agoEnable codecov config (#4)
Xin Wang [Fri, 26 Oct 2018 14:39:32 +0000 (22:39 +0800)] 
Enable codecov config (#4)

 enable push coverage data

4 years agoUpdate readme (#3)
Xin Wang [Sun, 16 Sep 2018 11:56:47 +0000 (19:56 +0800)] 
Update readme (#3)

* update README.md

4 years agoUpdate README.md
Xin Wang [Thu, 13 Sep 2018 03:05:56 +0000 (11:05 +0800)] 
Update README.md

4 years agochange version to 3.2.5-SNAPSHOT
zhuyong [Tue, 24 Jul 2018 02:41:12 +0000 (10:41 +0800)] 
change version to 3.2.5-SNAPSHOT

4 years agofix hessian2 serialization infinit recursion(StackOverflowError) when object's writeR...
Jason Song [Fri, 13 Jul 2018 02:24:29 +0000 (10:24 +0800)] 
fix hessian2 serialization infinit recursion(StackOverflowError) when object's writeReplace method returns the object itself. (#1)

4 years agofix Set Serialize data lost (#2)
Xin Wang [Fri, 13 Jul 2018 02:23:57 +0000 (10:23 +0800)] 
fix Set Serialize data lost (#2)

* fix Set Vector Serialize data lost https://github.com/apache/incubator-dubbo/issues/2069 https://github.com/apache/incubator-dubbo/issues/146

* update .travis.yml

* update

* update test

* update test

* update test

* change travis jdk version

4 years agorm mvn wrapper
zhuyong [Wed, 6 Jun 2018 06:45:32 +0000 (14:45 +0800)] 
rm mvn wrapper

4 years agomv hessian-lite to dubbo eco-system from dubbo codebase
zhuyong [Wed, 6 Jun 2018 06:41:48 +0000 (14:41 +0800)] 
mv hessian-lite to dubbo eco-system from dubbo codebase

4 years agostop running openjdk7 in travis CI
ken.lj [Wed, 6 Jun 2018 03:26:39 +0000 (11:26 +0800)] 
stop running openjdk7 in travis CI

4 years agosupport Java 8+
ken.lj [Wed, 6 Jun 2018 02:56:39 +0000 (10:56 +0800)] 
support Java 8+

4 years agounit test tracked by issue#1682 (#1889)
Ian Luo [Wed, 6 Jun 2018 02:42:16 +0000 (10:42 +0800)] 
unit test tracked by issue#1682 (#1889)

*     #1682: Enhance the test coverage part-4 : dubbo-common/src/main/java/com/alibaba/dubbo/common/status(store|threadpoolutils) modules

* fix test failure

4 years agobump version to 2.7.0-SNAPSHOT
ken.lj [Wed, 6 Jun 2018 02:30:19 +0000 (10:30 +0800)] 
bump version to 2.7.0-SNAPSHOT

4 years agoupgrade version manually after merge 2.6.2-release
ken.lj [Wed, 6 Jun 2018 01:44:52 +0000 (09:44 +0800)] 
upgrade version manually after merge 2.6.2-release

4 years agoMerge branch '2.6.2-release'
ken.lj [Wed, 6 Jun 2018 01:29:31 +0000 (09:29 +0800)] 
Merge branch '2.6.2-release'

# Conflicts:
# all/pom.xml
# bom/pom.xml
# dependencies-bom/pom.xml
# dubbo-cluster/pom.xml
# dubbo-common/pom.xml
# dubbo-config/dubbo-config-api/pom.xml
# dubbo-config/dubbo-config-spring/pom.xml
# dubbo-config/pom.xml
# dubbo-container/dubbo-container-api/pom.xml
# dubbo-container/dubbo-container-log4j/pom.xml
# dubbo-container/dubbo-container-logback/pom.xml
# dubbo-container/dubbo-container-spring/pom.xml
# dubbo-container/pom.xml
# dubbo-demo/dubbo-demo-api/pom.xml
# dubbo-demo/dubbo-demo-consumer/pom.xml
# dubbo-demo/dubbo-demo-provider/pom.xml
# dubbo-demo/pom.xml
# dubbo-filter/dubbo-filter-cache/pom.xml
# dubbo-filter/dubbo-filter-validation/pom.xml
# dubbo-filter/pom.xml
# dubbo-monitor/dubbo-monitor-api/pom.xml
# dubbo-monitor/dubbo-monitor-default/pom.xml
# dubbo-monitor/pom.xml
# dubbo-plugin/dubbo-qos/pom.xml
# dubbo-plugin/pom.xml
# dubbo-registry/dubbo-registry-api/pom.xml
# dubbo-registry/dubbo-registry-default/pom.xml
# dubbo-registry/dubbo-registry-multicast/pom.xml
# dubbo-registry/dubbo-registry-redis/pom.xml
# dubbo-registry/dubbo-registry-zookeeper/pom.xml
# dubbo-registry/pom.xml
# dubbo-remoting/dubbo-remoting-api/pom.xml
# dubbo-remoting/dubbo-remoting-grizzly/pom.xml
# dubbo-remoting/dubbo-remoting-http/pom.xml
# dubbo-remoting/dubbo-remoting-mina/pom.xml
# dubbo-remoting/dubbo-remoting-netty/pom.xml
# dubbo-remoting/dubbo-remoting-netty4/pom.xml
# dubbo-remoting/dubbo-remoting-p2p/pom.xml
# dubbo-remoting/dubbo-remoting-zookeeper/pom.xml
# dubbo-remoting/pom.xml
# dubbo-rpc/dubbo-rpc-api/pom.xml
# dubbo-rpc/dubbo-rpc-dubbo/pom.xml
# dubbo-rpc/dubbo-rpc-hessian/pom.xml
# dubbo-rpc/dubbo-rpc-http/pom.xml
# dubbo-rpc/dubbo-rpc-injvm/pom.xml
# dubbo-rpc/dubbo-rpc-memcached/pom.xml
# dubbo-rpc/dubbo-rpc-redis/pom.xml
# dubbo-rpc/dubbo-rpc-rest/pom.xml
# dubbo-rpc/dubbo-rpc-rmi/pom.xml
# dubbo-rpc/dubbo-rpc-thrift/pom.xml
# dubbo-rpc/dubbo-rpc-webservice/pom.xml
# dubbo-rpc/pom.xml
# dubbo-serialization/dubbo-serialization-api/pom.xml
# dubbo-serialization/dubbo-serialization-fastjson/pom.xml
# dubbo-serialization/dubbo-serialization-fst/pom.xml
# dubbo-serialization/dubbo-serialization-hessian2/pom.xml
# dubbo-serialization/dubbo-serialization-jdk/pom.xml
# dubbo-serialization/dubbo-serialization-kryo/pom.xml
# dubbo-serialization/pom.xml
# dubbo-test/dubbo-test-benchmark/pom.xml
# dubbo-test/dubbo-test-compatibility/dubbo-test-spring3/pom.xml
# dubbo-test/dubbo-test-compatibility/pom.xml
# dubbo-test/dubbo-test-examples/pom.xml
# dubbo-test/dubbo-test-integration/pom.xml
# dubbo-test/pom.xml
# hessian-lite/pom.xml
# pom.xml

4 years agoremove author info from #1453
ken.lj [Tue, 5 Jun 2018 08:02:55 +0000 (16:02 +0800)] 
remove author info from #1453

4 years agoMerge pull request #1453, restore the bug that attachment has not been updated in...
yizhenqiang [Tue, 5 Jun 2018 07:59:29 +0000 (15:59 +0800)] 
Merge pull request #1453, restore the bug that attachment has not been updated in the RpcContext when the Dubbo built-in retry mechanism is triggered.

4 years agoAdding maven wrapper to Dubbo project (#1887)
时无两丶 [Tue, 5 Jun 2018 06:09:20 +0000 (14:09 +0800)] 
Adding maven wrapper to Dubbo project (#1887)

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* remove enhanced

* remove enhanced

* feat: 增加maven-wrapper,用户可以使用自己的maven,应用工程构建时将会使用工程的maven版本

* use mvnw to ci.

4 years agoMerge #1740 manually, fix typo.
ken.lj [Fri, 1 Jun 2018 12:13:39 +0000 (20:13 +0800)] 
Merge #1740 manually, fix typo.

4 years agoMerge pull request #1873, support proxy for provider side.
Jerrick Zhu [Fri, 1 Jun 2018 09:18:25 +0000 (17:18 +0800)] 
Merge pull request #1873, support proxy for provider side.

fixes #67

4 years agoMerge pull request #348, AtomicPositiveInteger less memory used & provides better...
Block [Fri, 1 Jun 2018 08:50:02 +0000 (16:50 +0800)] 
Merge pull request #348, AtomicPositiveInteger less memory used & provides better perf.

4 years agoMerge pull request #1872, get the real methodname to support consistenthash for gener...
ken.lj [Fri, 1 Jun 2018 07:32:55 +0000 (15:32 +0800)] 
Merge pull request #1872, get the real methodname to support consistenthash for generic invoke.

4 years agoMerge pull request #1827, support generic invoke and attachment for http/hessian...
Jerrick Zhu [Fri, 1 Jun 2018 07:02:53 +0000 (15:02 +0800)] 
Merge pull request #1827, support generic invoke and attachment for http/hessian protocol.

fixes  #1768, #19

4 years ago[Dubbo-1684] add unit test for dubbo spring config (#1809)
Huang YunKun [Fri, 1 Jun 2018 05:07:03 +0000 (13:07 +0800)] 
[Dubbo-1684] add unit test for dubbo spring config (#1809)

* add test for config spring module

* add more test for serviceBean and refBean

4 years agoMerge pull request #1868, add test for rpc modules.
Huang YunKun [Fri, 1 Jun 2018 04:29:34 +0000 (12:29 +0800)] 
Merge pull request #1868, add test for rpc modules.

fixes #1697

4 years agoMerge pull request #1843, support implicit delivery of attachments from provider...
ken.lj [Thu, 31 May 2018 08:21:55 +0000 (16:21 +0800)] 
Merge pull request #1843, support implicit delivery of attachments from provider to consumer.

Fixes #889, #1466, #1834, #1466, #1524

4 years agoMerge pull request #1837, spring spi support inject by type.
ken.lj [Thu, 31 May 2018 08:11:00 +0000 (16:11 +0800)] 
Merge pull request #1837, spring spi support inject by type.

4 years agoMerge pull request #1820, improve graceful shutdown.
Huxing Zhang [Thu, 31 May 2018 08:07:20 +0000 (16:07 +0800)] 
Merge pull request #1820, improve graceful shutdown.

4 years agoMerge pull request #1866, clarify license for codes referencing thirdparty repositories.
时无两丶 [Thu, 31 May 2018 03:16:54 +0000 (11:16 +0800)] 
Merge pull request #1866, clarify license for codes referencing thirdparty repositories.

Clarify netty License.

4 years ago[Dubbo-1693] Enhance the test coverage part-14 (#1859)
Jasper Zhong [Thu, 31 May 2018 02:23:11 +0000 (10:23 +0800)] 
[Dubbo-1693] Enhance the test coverage part-14 (#1859)

* add testcase

* remove useless code

4 years ago #1682: Enhance the test coverage part-4 (#1862)
Ian Luo [Wed, 30 May 2018 02:10:06 +0000 (10:10 +0800)] 
#1682: Enhance the test coverage part-4 (#1862)

4 years agoupdate CXF to latest version and add test case for webservice protocol (#1564)
kimmking [Mon, 28 May 2018 06:46:09 +0000 (14:46 +0800)] 
update CXF to latest version and add test case for webservice protocol (#1564)

* update cxf version and add test cases

* support jdk7

* add profile for dependency in jdk9

* modify profile location

* fix jaxb version

* add dependency for jdk9

* extract dependencies to dependencies bom project

4 years agofix #1845 (#1851)
lzj [Mon, 28 May 2018 02:21:15 +0000 (10:21 +0800)] 
fix #1845 (#1851)

4 years agooptimize_zk_create (#1833)
whanice [Fri, 25 May 2018 02:28:21 +0000 (10:28 +0800)] 
optimize_zk_create (#1833)

4 years agoUse InternalThreadLocal in consumer side (#1825)
时无两丶 [Fri, 25 May 2018 02:14:03 +0000 (10:14 +0800)] 
Use InternalThreadLocal in consumer side (#1825)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Change ThreadFactory for consumer side which is to use InternalThreadLocal in RpcContext.

4 years agoMerge pull request #1836, there is a potential deadlock in DubboProtocol#getSharedClient.
Ian Luo [Fri, 25 May 2018 02:11:07 +0000 (10:11 +0800)] 
Merge pull request #1836, there is a potential deadlock in DubboProtocol#getSharedClient.

Fixes #677.

4 years ago[maven-release-plugin] prepare for next development iteration
ken.lj [Thu, 24 May 2018 09:52:17 +0000 (17:52 +0800)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release dubbo-2.6.2
ken.lj [Thu, 24 May 2018 09:51:14 +0000 (17:51 +0800)] 
[maven-release-plugin] prepare release dubbo-2.6.2

4 years agoAdd profile for distribution module
ken.lj [Thu, 24 May 2018 08:26:34 +0000 (16:26 +0800)] 
Add profile for distribution module

4 years agoMerge pull request #1839, remove validation key from provider url registered to registry.
nzomkxia [Thu, 24 May 2018 06:44:13 +0000 (14:44 +0800)] 
Merge pull request #1839, remove validation key from provider url registered to registry.

Fixes #1386.

4 years ago #1830: dbindex support in redis (#1831)
Ian Luo [Wed, 23 May 2018 02:10:46 +0000 (10:10 +0800)] 
#1830: dbindex support in redis (#1831)

4 years ago #1597: CacheFilter,when value is null,it will throw NPE(if use ehcache for jcache...
Ian Luo [Tue, 22 May 2018 07:25:35 +0000 (15:25 +0800)] 
#1597: CacheFilter,when value is null,it will throw NPE(if use ehcache for jcache),why not check null here (#1828)

4 years agoExclude release temp files
ken.lj [Tue, 22 May 2018 06:02:59 +0000 (14:02 +0800)] 
Exclude release temp files

4 years agoExclude release temp files
ken.lj [Tue, 22 May 2018 05:07:09 +0000 (13:07 +0800)] 
Exclude release temp files

4 years agoMerge checkstyle-plugin configuration
ken.lj [Tue, 22 May 2018 02:16:32 +0000 (10:16 +0800)] 
Merge checkstyle-plugin configuration

4 years agoSkip rat by default
ken.lj [Tue, 22 May 2018 01:39:03 +0000 (09:39 +0800)] 
Skip rat by default

4 years agoSkip checkstyle by default
ken.lj [Tue, 22 May 2018 01:30:07 +0000 (09:30 +0800)] 
Skip checkstyle by default

4 years agoAdd *.log exclude pattern for source-release assembly
ken.lj [Tue, 22 May 2018 00:23:41 +0000 (08:23 +0800)] 
Add *.log exclude pattern for source-release assembly

4 years agoFix minor issues reported in 2.6.2 RC1
ken.lj [Tue, 22 May 2018 00:20:10 +0000 (08:20 +0800)] 
Fix minor issues reported in 2.6.2 RC1

4 years ago #1816: dubbo schema compatibility
beiwei30 [Mon, 21 May 2018 08:21:42 +0000 (16:21 +0800)] 
#1816: dubbo schema compatibility

4 years agoAdd arguments for release-plugin
ken.lj [Mon, 21 May 2018 14:58:41 +0000 (22:58 +0800)] 
Add arguments for release-plugin

4 years agoAdd source-release assembly config
ken.lj [Mon, 21 May 2018 14:33:28 +0000 (22:33 +0800)] 
Add source-release assembly config

4 years agoGo back to 2.6.2-SNAPSHOT to prepare for the next release.
ken.lj [Mon, 21 May 2018 13:20:46 +0000 (21:20 +0800)] 
Go back to 2.6.2-SNAPSHOT to prepare for the next release.

4 years ago #1816: dubbo schema compatibility
beiwei30 [Mon, 21 May 2018 08:21:42 +0000 (16:21 +0800)] 
#1816: dubbo schema compatibility

4 years agoRemove .orig file and update gitigonre.
Huxing Zhang [Sun, 20 May 2018 06:37:53 +0000 (14:37 +0800)] 
Remove .orig file and update gitigonre.

4 years agoMerge pull request #1643, ChannelState branch prediction optimization.
hengyunabc [Fri, 18 May 2018 06:49:35 +0000 (14:49 +0800)] 
Merge pull request #1643, ChannelState branch prediction optimization.

4 years agoEnsure merger is specified to true to demonstrate the merger feature.
Huxing Zhang [Thu, 17 May 2018 10:06:50 +0000 (18:06 +0800)] 
Ensure merger is specified to true to demonstrate the merger feature.

4 years agoRemove unnecessary null check.
Huxing Zhang [Thu, 17 May 2018 09:53:16 +0000 (17:53 +0800)] 
Remove unnecessary null check.

4 years agoSimplify code, no function change.
Huxing Zhang [Thu, 17 May 2018 09:32:43 +0000 (17:32 +0800)] 
Simplify code, no function change.

4 years agoMerge pull request #1808, fix URL parsing problem when user filed contains '@' charac...
Lei Wei [Thu, 17 May 2018 08:21:30 +0000 (16:21 +0800)] 
Merge pull request #1808, fix URL parsing problem when user filed contains '@' characters.

Fixed #1470

4 years agoMerge branch 'ralf0131-graceful-shutdown-in-tomcat'
Huxing Zhang [Thu, 17 May 2018 08:19:17 +0000 (16:19 +0800)] 
Merge branch 'ralf0131-graceful-shutdown-in-tomcat'

4 years agoMerge branch 'graceful-shutdown-in-tomcat' of https://github.com/ralf0131/dubbo into...
Huxing Zhang [Thu, 17 May 2018 08:16:20 +0000 (16:16 +0800)] 
Merge branch 'graceful-shutdown-in-tomcat' of https://github.com/ralf0131/dubbo into ralf0131-graceful-shutdown-in-tomcat

4 years agoMerge pull request #1811, fix unstable hessian protocol unit test by adding overload.
Huxing Zhang [Thu, 17 May 2018 08:04:19 +0000 (16:04 +0800)] 
Merge pull request #1811, fix unstable hessian protocol unit test by adding overload.

Fixed #1667, fixed #1727

4 years agoFix UT failure.
Huxing Zhang [Thu, 10 May 2018 08:16:43 +0000 (16:16 +0800)] 
Fix UT failure.

4 years agoCorrect pom version.
Huxing Zhang [Wed, 9 May 2018 10:25:01 +0000 (18:25 +0800)] 
Correct pom version.

4 years agoUsing ExecutorUtil#gracefulShutdown instead of create a new method.
Huxing Zhang [Wed, 9 May 2018 09:16:09 +0000 (17:16 +0800)] 
Using ExecutorUtil#gracefulShutdown instead of create a new method.

4 years agoAdd dependency.
Huxing Zhang [Wed, 9 May 2018 07:46:17 +0000 (15:46 +0800)] 
Add dependency.

4 years agoAdd comments.
Huxing Zhang [Wed, 9 May 2018 04:03:22 +0000 (12:03 +0800)] 
Add comments.

4 years agoEnsure Dubbo can shutdown correctly when running both under tomcat and programmably.
Huxing Zhang [Mon, 7 May 2018 07:56:47 +0000 (15:56 +0800)] 
Ensure Dubbo can shutdown correctly when running both under tomcat and programmably.

4 years agoRemove unused code.
Huxing Zhang [Sat, 28 Apr 2018 03:12:57 +0000 (11:12 +0800)] 
Remove unused code.

4 years agoAdd a construtor to accept address and protocol for RegistryConfig.
Huxing Zhang [Sat, 28 Apr 2018 01:42:27 +0000 (09:42 +0800)] 
Add a construtor to accept address and protocol for RegistryConfig.

4 years agoMerge pull request #1570, fix annotation demo in dubbo-test.
yì jí [Thu, 17 May 2018 05:03:20 +0000 (13:03 +0800)] 
Merge pull request #1570, fix annotation demo in dubbo-test.

4 years agoMerge pull request #1792, fix zk unsubscribe issue.
nzomkxia [Thu, 17 May 2018 03:51:17 +0000 (11:51 +0800)] 
Merge pull request #1792, fix zk unsubscribe issue.

4 years agoRemove redundant cast.
Huxing Zhang [Wed, 16 May 2018 09:01:29 +0000 (17:01 +0800)] 
Remove redundant cast.

4 years ago #1682: Enhance the test coverage part-4: dubbo-common/src/main/java/com/alibaba...
Ian Luo [Wed, 16 May 2018 02:10:21 +0000 (10:10 +0800)] 
#1682: Enhance the test coverage part-4: dubbo-common/src/main/java/com/alibaba/dubbo/common/status(store|threadpoolutils) modules (#1806)

4 years agomake unit test stable (#1805)
Ian Luo [Tue, 15 May 2018 10:52:54 +0000 (18:52 +0800)] 
make unit test stable (#1805)

4 years agoFix bug in InternalThreadLocal and provides unit test (#1803)
时无两丶 [Tue, 15 May 2018 09:42:52 +0000 (17:42 +0800)] 
Fix bug in InternalThreadLocal and provides unit test (#1803)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Faster ThreadLocal impl in internal use
* Used in RpcContext`s LOCAL field.
* Faster get than the traditional ThreadLocal

* add License

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* remove author info

* fix destroy method

* fix bug at method size.

* Unit test for InternalThreadLocal

* Unit test for InternalThreadLocal
Fix bug in method removeAll

4 years agoThread pool unit test (#1802)
Ian Luo [Tue, 15 May 2018 07:20:32 +0000 (15:20 +0800)] 
Thread pool unit test (#1802)

* reformat the code, and move the test into the correct package

* unit test for c.a.d.c.threadpool

4 years agoPolish release notes in CHANGES.md
ken.lj [Tue, 15 May 2018 06:08:19 +0000 (14:08 +0800)] 
Polish release notes in CHANGES.md

4 years agoAdd CHANGES.md as release note.
ken.lj [Tue, 15 May 2018 06:02:20 +0000 (14:02 +0800)] 
Add CHANGES.md as release note.

4 years agounit test for SimpleDataStore (#1797)
Ian Luo [Tue, 15 May 2018 05:33:52 +0000 (13:33 +0800)] 
unit test for SimpleDataStore (#1797)

4 years agoNew threadLocal provides more performance. (#1745)
时无两丶 [Tue, 15 May 2018 02:08:45 +0000 (10:08 +0800)] 
New threadLocal provides more performance. (#1745)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Faster ThreadLocal impl in internal use
* Used in RpcContext`s LOCAL field.
* Faster get than the traditional ThreadLocal

* add License

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* remove author info

* fix destroy method

* fix bug at method size.

4 years agounit test for com.alibaba.dubbo.common.status.support (#1796)
Ian Luo [Tue, 15 May 2018 01:59:15 +0000 (09:59 +0800)] 
unit test for com.alibaba.dubbo.common.status.support (#1796)

* unit test for Status

* remove unnecessary 'static'

* unit test for StatusUtils

* unit test for LoadStatusChecker

* reformat the code

* unit test for MemoryStatusChecker

4 years agoAdd assembly plugin
ken.lj [Mon, 14 May 2018 15:14:15 +0000 (23:14 +0800)] 
Add assembly plugin