Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve serialization tracking memory usage #130

Merged
merged 7 commits into from
Apr 22, 2024

Conversation

mcollovati
Copy link
Contributor

Improves memory usage and performance during serialization by:

  • reusing JDK DebugTraceInfoStack strings insted of joining them into a single one
  • preventing trace info to be serialized
  • inspect for injectable transient only application objects
  • prevent writing tracking metadata twice on the target stream
  • clear temporary output stream byte array once data is copied to the target stream

Part of #128

Improves memory usage and performance during serialization by:
- reusing JDK DebugTraceInfoStack strings insted of joining them into a single one
- preventing trace info to be serialized
- inspect for injectable transient only application objects
- prevent writing tracking metadata twice on the target stream
- clear temporary output stream byte array once data is copied to the target stream

Part of #128
@tamasmak tamasmak merged commit 21ebe32 into main Apr 22, 2024
2 checks passed
@tamasmak tamasmak deleted the fix/improve_debug_tool_memory_usage branch April 22, 2024 12:46
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.

2 participants