Fix ConcurrentModificationException in memory tracker.
RELNOTES: None
@@ -331,7 +331,6 @@ public class AllocationTracker implements Sampler {
.setName(stringTable.get(function))
.build();
profile.addFunction(fn);
- table.put(key, index);
return index++;
});
}
@@ -362,7 +361,6 @@ public class AllocationTracker implements Sampler {
.build())
.build();
profile.addLocation(location);
- table.put(key, index);
return index++;
});
}
