On Fri, May 19, 2017 at 08:44:58AM +0300, Henri Sivonen wrote:
The downsides would be that the memory for the tables wouldn't be reclaimed if the tables aren't needed anymore (the browser can't predict the future) and executions where any of the tables has been created wouldn't be valgrind-clean.
If we do this, it would be nice to flush the tables when we get a memory-pressure event, which should at least mitigate some of the effects for users on memory-constrained systems.
And is there a reason ClearOnShutdown couldn't be used to deal with valgrind issues?
That said, can we try to get some telemetry on how often we'd need to build these tables, and how likely they are to be needed again in the same process, before we make a decision?
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform