You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2024/09/04 01:29:49 UTC
(dubbo) branch 3.3 updated (067dc8dce9 -> 3c48aa8579)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a change to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
from 067dc8dce9 Add build scripts for faster local compilation (#14618)
add 11900330d9 fix NettyCodecAdapter decoder memory leak (#14538)
add a9fedd5ecb feat: Support disable Curator EnsembleTracker (#14597)
add ee3855e2f4 Fix LRUCache.putIfAbsent concurrent issue (#14615)
add 00a04e0f46 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 (#14607)
add 3076a6287d Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0 (#14608)
add 1fbbd3a635 Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#14611)
add 84fdb32a4c Bump org.apache.maven.plugins:maven-plugin-plugin from 3.14.0 to 3.15.0 (#14610)
add a0b44bf465 Bump net.bytebuddy:byte-buddy from 1.14.18 to 1.15.1 (#14612)
add 62ae7f99b0 Bump org.apache.maven.plugin-tools:maven-plugin-annotations (#14613)
add 4d1c87a512 Bump org.yaml:snakeyaml from 2.2 to 2.3 (#14606)
add dcfab3a7f8 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.4.0 to 3.5.0 (#14609)
new 3c48aa8579 Merge branch 'refs/heads/apache-3.2' into apache-3.3
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/dubbo/common/utils/LRUCache.java | 10 ++++++
dubbo-dependencies-bom/pom.xml | 6 ++--
dubbo-maven-plugin/pom.xml | 4 +--
.../zookeeper/util/CuratorFrameworkUtils.java | 13 +++++++
.../transport/netty4/NettyCodecAdapter.java | 42 ++++++++++++----------
.../transport/netty4/NettyCodecAdapterTest.java | 39 ++++++++++++++++++++
pom.xml | 6 ++--
7 files changed, 93 insertions(+), 27 deletions(-)
(dubbo) 01/01: Merge branch 'refs/heads/apache-3.2' into apache-3.3
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
commit 3c48aa8579b65081dd693146166ebdf6b860e314
Merge: 067dc8dce9 dcfab3a7f8
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Wed Sep 4 09:28:53 2024 +0800
Merge branch 'refs/heads/apache-3.2' into apache-3.3
# Conflicts:
# dubbo-common/src/main/java/org/apache/dubbo/common/utils/LRUCache.java
# dubbo-dependencies-bom/pom.xml
# dubbo-native-plugin/pom.xml
.../org/apache/dubbo/common/utils/LRUCache.java | 10 ++++++
dubbo-dependencies-bom/pom.xml | 6 ++--
dubbo-maven-plugin/pom.xml | 4 +--
.../zookeeper/util/CuratorFrameworkUtils.java | 13 +++++++
.../transport/netty4/NettyCodecAdapter.java | 42 ++++++++++++----------
.../transport/netty4/NettyCodecAdapterTest.java | 39 ++++++++++++++++++++
pom.xml | 6 ++--
7 files changed, 93 insertions(+), 27 deletions(-)
diff --cc dubbo-common/src/main/java/org/apache/dubbo/common/utils/LRUCache.java
index 079fb0766a,28440ba854..c776dd21fb
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/LRUCache.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/utils/LRUCache.java
@@@ -111,20 -110,16 +111,30 @@@ public class LRUCache<K, V> extends Lin
}
}
+ @Override
+ public V putIfAbsent(K key, V value) {
+ lock.lock();
+ try {
+ return super.putIfAbsent(key, value);
+ } finally {
+ lock.unlock();
+ }
+ }
+
+ @Override
+ public V computeIfAbsent(K key, Function<? super K, ? extends V> fn) {
+ V value = get(key);
+ if (value == null) {
+ lock.lock();
+ try {
+ return super.computeIfAbsent(key, fn);
+ } finally {
+ lock.unlock();
+ }
+ }
+ return value;
+ }
+
public void lock() {
lock.lock();
}
diff --cc dubbo-dependencies-bom/pom.xml
index 099355f3a4,0af619f3ab..6bbdf4f855
--- a/dubbo-dependencies-bom/pom.xml
+++ b/dubbo-dependencies-bom/pom.xml
@@@ -92,10 -93,9 +92,10 @@@
<spring_version>5.3.39</spring_version>
<spring_security_version>5.8.14</spring_security_version>
<javassist_version>3.30.2-GA</javassist_version>
- <byte-buddy_version>1.14.18</byte-buddy_version>
- <bytebuddy.version>1.15.1</bytebuddy.version>
++ <byte-buddy_version>1.15.1</byte-buddy_version>
<netty_version>3.2.10.Final</netty_version>
<netty4_version>4.1.112.Final</netty4_version>
+ <netty_http3_version>0.0.28.Final</netty_http3_version>
<httpclient_version>4.5.14</httpclient_version>
<httpcore_version>4.4.16</httpcore_version>
<fastjson_version>1.2.83</fastjson_version>
@@@ -117,12 -116,11 +117,12 @@@
<jel_version>3.0.1-b12</jel_version>
<jcache_version>1.1.1</jcache_version>
<apollo_client_version>2.3.0</apollo_client_version>
- <snakeyaml_version>2.2</snakeyaml_version>
- <commons_lang3_version>3.16.0</commons_lang3_version>
+ <snakeyaml_version>2.3</snakeyaml_version>
+ <commons_lang3_version>3.17.0</commons_lang3_version>
<envoy_api_version>0.1.35</envoy_api_version>
<micrometer.version>1.13.3</micrometer.version>
-
+ <opentelemetry.version>1.39.0</opentelemetry.version>
+ <zipkin-reporter.version>3.4.0</zipkin-reporter.version>
<micrometer-tracing.version>1.3.3</micrometer-tracing.version>
<t_digest.version>3.3</t_digest.version>
<prometheus_client.version>0.16.0</prometheus_client.version>
diff --cc pom.xml
index e97d53cac9,59ea9aae46..5baa33bff0
--- a/pom.xml
+++ b/pom.xml
@@@ -108,28 -117,33 +108,28 @@@
</issueManagement>
<properties>
- <!-- Test libs -->
- <junit_jupiter_version>5.9.3</junit_jupiter_version>
- <awaitility_version>4.2.2</awaitility_version>
- <hazelcast_version>3.12.13</hazelcast_version>
- <hamcrest_version>2.2</hamcrest_version>
- <hibernate_validator_version>5.2.4.Final</hibernate_validator_version>
- <el_api_version>2.2.5</el_api_version>
- <jaxb_api_version>2.2.7</jaxb_api_version>
- <cglib_version>2.2.2</cglib_version>
- <mockito_version>4.11.0</mockito_version>
<!-- Build args -->
- <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8
- -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m</argline>
- <skip_maven_deploy>false</skip_maven_deploy>
- <updateReleaseInfo>true</updateReleaseInfo>
- <project.build.sourceEncoding>${file_encoding}</project.build.sourceEncoding>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputTimestamp>2020-04-01T08:04:00Z</project.build.outputTimestamp>
-
+ <argline>-server -Xms256m -Xmx512m -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m -Dfile.encoding=UTF-8
+ -Djava.net.preferIPv4Stack=true</argline>
+ <arguments />
+ <jacocoArgLine />
<profile.name>oss</profile.name>
- <!-- for maven compiler plugin -->
- <java_source_version>1.8</java_source_version>
- <java_target_version>1.8</java_target_version>
- <file_encoding>UTF-8</file_encoding>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ <skip_maven_deploy>false</skip_maven_deploy>
+ <checkstyle.skip>true</checkstyle.skip>
+ <checkstyle_unix.skip>true</checkstyle_unix.skip>
+ <rat.skip>true</rat.skip>
+ <jacoco.skip>true</jacoco.skip>
+
<!-- Maven plugins -->
<maven_jar_version>3.4.2</maven_jar_version>
- <maven_surefire_version>3.4.0</maven_surefire_version>
- <maven_failsafe_version>3.4.0</maven_failsafe_version>
+ <maven_surefire_version>3.5.0</maven_surefire_version>
+ <maven_failsafe_version>3.5.0</maven_failsafe_version>
<maven_deploy_version>3.1.3</maven_deploy_version>
<maven_compiler_version>3.13.0</maven_compiler_version>
<maven_source_version>3.3.1</maven_source_version>