Closed
Description
- Version: v11.0.0-pre
- Platform: Darwin ovpn-116-59.ams2.redhat.com 15.6.0 Darwin Kernel Version 15.6.0: Tue Jan 30 11:45:51 PST 2018; root:xnu-3248.73.8~1/RELEASE_X86_64 x86_64
- Subsystem: src
Currently when building node there are a number of warnings like this one:
./src/async_wrap.cc:611:29: warning: 'SetWrapperClassInfoProvider' is deprecated [-Wdeprecated-declarations]
NODE_ASYNC_PROVIDER_TYPES(V)
In deps/v8/include/v8-profiler.h we can find the following deprecation :
V8_DEPRECATED(
"Use SetBuildEmbedderGraphCallback to provide info about embedder nodes",
void SetWrapperClassInfoProvider(uint16_t class_id,
WrapperInfoCallback callback));
The goal of this issue is to start using SetBuildEmbedderGraphCallback
instead of the now deprecated SetWrapperClassInfoProvider
.
I've taken a look at the unit tests in V8, and tried to follow what they do in this branch: embedder-graph-builder.
This is still a work in progress, but I wanted to get some feedback, and also I'll be out for about a month now so if anyone would like to pick this up then feel free.
Activity