Commit 9fe6c4bb authored by Noric Couderc's avatar Noric Couderc
Browse files

Fix: Memory leak

The name of method selection strategy wasn't interned. Causing the
multiplication of strings containing "BRAINY".
parent 70a3e938
...@@ -99,7 +99,7 @@ class JMHProcessor { ...@@ -99,7 +99,7 @@ class JMHProcessor {
records.map{ records.map{
val methodSelection = val methodSelection =
if (it.isSet("Param: methodSelectionStrategyId")) { if (it.isSet("Param: methodSelectionStrategyId")) {
it.get("Param: methodSelectionStrategyId") it.get("Param: methodSelectionStrategyId").intern()
} else { } else {
null null
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment