It appears that V8 maintains one "optimizing compiler thread" per isolate - an implementation detail beyond ClearScript's control. If your application uses the
You mentioned that you're seeing roughly 200 compiler threads. Is it possible that your application at that point is holding that many engine instances? Our normal recommendation is to use roughly as many concurrent engine instances as there are CPU cores in the machine.
V8ScriptEngine
constructor, it creates one isolate per engine instance.You mentioned that you're seeing roughly 200 compiler threads. Is it possible that your application at that point is holding that many engine instances? Our normal recommendation is to use roughly as many concurrent engine instances as there are CPU cores in the machine.