-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Don't seem to generate the cache blob file, when using this in a worker thread.
From my debug, seems Module.prototype._compile is never called in a worker thread.
v8-compile-cache-lib/v8-compile-cache.js
Lines 155 to 157 in 35dfbc6
| Module.prototype._compile = this._ownModuleCompile = _ownModuleCompile; | |
| self.enabled = true; | |
| function _ownModuleCompile(content, filename) { |
So set is never called
v8-compile-cache-lib/v8-compile-cache.js
Lines 48 to 52 in 35dfbc6
| set(key, invalidationKey, buffer) { | |
| this._invalidationKeys[key] = invalidationKey; | |
| this._memoryBlobs[key] = buffer; | |
| this._dirty = true; | |
| } |
And it is never dirty
Metadata
Metadata
Assignees
Labels
No labels