This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 08c68bff docs: Update java_serialization_guide.md - Fury - Fory (#2362)
08c68bff is described below
commit 08c68bffd39780e5196a5271e1eeda3dd0c969e8
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Jun 23 14:54:07 2025 +0200
docs: Update java_serialization_guide.md - Fury - Fory (#2362)
<!--
**Thanks for contributing to Fory.**
**If this is your first time opening a PR on fory, you can refer to
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).**
Contribution Checklist
- The **Apache Fory (incubating)** community has restrictions on the
naming of pr titles. You can also find instructions in
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).
- Fory has a strong focus on performance. If the PR you submit will have
an impact on performance, please benchmark it first and provide the
benchmark result here.
-->
## What does this PR do?
<!-- Describe the purpose of this PR. -->
## Related issues
<!--
Is there any related issue? Please attach here.
- #xxxx0
- #xxxx1
- #xxxx2
-->
## Does this PR introduce any user-facing change?
<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fory/issues/new/choose) describing the
need to do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->
---
docs/guide/java_serialization_guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guide/java_serialization_guide.md
b/docs/guide/java_serialization_guide.md
index 33819ea7..bd0e14a8 100644
--- a/docs/guide/java_serialization_guide.md
+++ b/docs/guide/java_serialization_guide.md
@@ -177,7 +177,7 @@ byte[] bytes = fory.serialize(object);
System.out.println(fory.deserialize(bytes));
```
-Note that calling `buildThreadSafeFory()` on `ForyBuilder` will create an
instance of `ThreadLocalFury`.
+Note that calling `buildThreadSafeFory()` on `ForyBuilder` will create an
instance of `ThreadLocalFory`.
This may not be appropriate in environments where virtual threads are used, as
each thread will create its own fury instance, a relatively expensive operation.
An alternative for virtual threads is to use `buildThreadSafeForyPool`.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]