CodeIntelligenceTesting / jazzer

Coverage-guided, in-process fuzzing for the JVM
https://code-intelligence.com
Other
1.03k stars 137 forks source link

tests: Do not retain values in StressTest #868

Closed fmeum closed 1 year ago

fmeum commented 1 year ago

StressTest required a lot of memory since it collected all init and mutate return values in a list. Instead, cross values off a short list for "contains" type checks and use hashCode() to stand in for the actual value in statistical tests.

Verified locally that the test now passes with --jvmopt=-Xmx512M.