Skip to content

src: per-isolate eternal templates

FunctionTemplate and ObjectTemplate can be shared across realms. They should be per-isolate eternal handles and can not be modified.

As these templates are lazily initialized, their setters are still exposed with DCHECK on their value presence.

/cc @nodejs/startup

Merge request reports

Loading