[v8.x-backport] http2,perf_hooks: perf state using AliasedBuffer
Backported PR #18300 to v8.x-staging. The backport dropped the http2 portion of the change since the dependent change hasn't been backported (yet?).
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
perf_hooks