-
Enhancement
-
Resolution: Unresolved
-
P3
-
6.1.0
A StringDeduplication rule was added in JMC-4056
The rule was submitted as good enough, but there are potential improvments:
- Possible performance improvement when filter allocation events on stacktrace
- Change from comparing the string internal arrays to the total liveset into comparing to the heap size.
- Include the free physical memory
- Calculate the allocations in sliding time windows
- Some other FIXMEs
- Don't skip running the rule if the java version is too low or G1 is not used, instead do the calculations and inform that the user would need to change java version and GC.