Skip to content

refactor(java): refactor java serialization architecture#3526

Closed
chaokunyang wants to merge 19 commits intoapache:mainfrom
chaokunyang:refactor_fory_java_serialization_arc
Closed

refactor(java): refactor java serialization architecture#3526
chaokunyang wants to merge 19 commits intoapache:mainfrom
chaokunyang:refactor_fory_java_serialization_arc

Conversation

@chaokunyang
Copy link
Copy Markdown
Collaborator

@chaokunyang chaokunyang commented Mar 28, 2026

Why?

Refactor java serialization API to support thread safe serializer and separate write/read API.

This is a breaking change but necessary for 1.0.0 release. Customized serializer will be affected, use Fory directly is still OK.

What does this PR do?

Related issues

AI Contribution Checklist

  • Substantial AI assistance was used in this PR: yes / no
  • If yes, I included a completed AI Contribution Checklist in this PR description and the required AI Usage Disclosure.

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@chaokunyang chaokunyang changed the title refactor(java): refactor java serialization architecture to reduce memory refactor(java): refactor java serialization architecture Mar 28, 2026
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch from 20bb5d0 to d99bcab Compare March 28, 2026 09:14
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch from 885b262 to 699ca65 Compare March 28, 2026 12:53
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch from 4a4dd4e to 4b0fdbc Compare March 28, 2026 13:39
@chaokunyang chaokunyang reopened this Mar 28, 2026
…lization_arc

# Conflicts:
#	docs/guide/java/configuration.md
#	docs/guide/java/index.md
#	docs/guide/java/schema-evolution.md
#	docs/guide/java/type-registration.md
#	java/fory-core/src/main/java/org/apache/fory/ThreadLocalFory.java
#	java/fory-core/src/main/java/org/apache/fory/ThreadSafeFory.java
#	java/fory-core/src/main/java/org/apache/fory/ThreadSafeForyPool.java
#	java/fory-core/src/main/java/org/apache/fory/config/ForyBuilder.java
#	java/fory-core/src/main/java/org/apache/fory/resolver/SharedRegistry.java
#	java/fory-core/src/main/java/org/apache/fory/serializer/ForwardSerializer.java
#	java/fory-core/src/main/resources/META-INF/native-image/org.apache.fory/fory-core/native-image.properties
#	java/fory-core/src/test/java/org/apache/fory/ThreadSafeForyTest.java
#	java/fory-core/src/test/java/org/apache/fory/builder/JITContextTest.java
#	java/fory-core/src/test/java/org/apache/fory/resolver/AllowListCheckerTest.java
#	java/fory-core/src/test/java/org/apache/fory/serializer/ForwardSerializerTest.java
#	java/fory-latest-jdk-tests/src/test/java/org/apache/fory/VirtualThreadSafeForyTest.java
@chaokunyang chaokunyang reopened this Apr 4, 2026
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch 3 times, most recently from dd90cd4 to b9e9af4 Compare April 5, 2026 10:20
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch 2 times, most recently from 10a5c71 to 3335aa7 Compare April 5, 2026 11:20
@chaokunyang chaokunyang force-pushed the refactor_fory_java_serialization_arc branch from 3335aa7 to 528b505 Compare April 5, 2026 11:25
@chaokunyang chaokunyang closed this Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants