-
Notifications
You must be signed in to change notification settings - Fork 11
Prevent unbounded memory growth in long-running profilers #327
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
fd5f798
Fix GetLineNumberTable JVMTI memory leak
jbachorik f008c7d
Document profiler memory requirements and AGCT constraints
jbachorik 7dfb743
Fix GetLineNumberTableLeakTest to detect JVMTI leaks
jbachorik 6281c46
Fix NumberFormatException handling in NativeMemoryTracking
jbachorik c31e8b5
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik 693d3bc
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik 4f2c30d
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik 8506bac
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik ae5cc44
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik 0824cb4
Update ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GetLi…
jbachorik 46fac98
Fix test comment to reflect actual restart interval (5 vs 200) (#329)
Copilot 6e6f12a
PR cleanup
jbachorik cd0c279
Log a JVMTI error during attempt to deallocate linenumber table
jbachorik 2ab1d26
Implement age-based method_map cleanup to prevent unbounded growth
jbachorik 5b881a7
Update memory docs with method_map cleanup implementation
jbachorik ebf7f17
Remove stop/restart test, enable NMT by default
jbachorik 89acf7e
Remove bogus plateau detection logic from test
jbachorik fc0e2af
Allow class unloading for better memory behavior
jbachorik 6e7729f
Update test javadoc to reflect actual behavior
jbachorik bee9080
Add comparison test to validate cleanup effectiveness
jbachorik caf6ed1
Lower comparison test threshold to 10%
jbachorik 5ea19ad
Track JVMTI deallocation and validate cleanup with RSS
jbachorik f48420f
Reduce test iterations for faster execution
jbachorik 3ce7672
Handle unreliable RSS measurements on Zing JDK
jbachorik 257d982
Use Counter for line number table tracking
jbachorik 032d9a1
Skip tests on assumption failures instead of retrying
jbachorik 05d870c
Remove debug logging for method cleanup setting
jbachorik 33f6c5c
Detect RSS unreliability when NMT and RSS diverge
jbachorik 4bbfcfe
Add diagnostic output explaining RSS unreliability
jbachorik 00da241
Remove memory-based assertions from cleanup test
jbachorik 7ed1e7e
Remove NMT/RSS tracking from cleanup test
jbachorik d2c7dee
Address Copilot review comments
jbachorik 937745c
Update memory docs and restore build-and-summarize
jbachorik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.