| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
UnorderedCppHeapExternalObjectSet&& cpp_heap_external_objects);I forgot that we already had this...
// Copyright 2013 the V8 project authors. All rights reserved.Completely unrelated follow up request: Snapshots are not on the super critical perf path. Can we get rid of the inline header and just move all these accessors to .cc?
CppHeapWrapperSet& GetCppHeapWrappers() { return cpp_heap_wrappers_; }Personally, I really dislike the name "wrapper" here if we are allowing more and more arbitrary references back and forth.
C++->JS is already allowed on non-wrapper/wrappable scenarios. The global proxy setup also already forms a weird circle IIRC.
I don't have a good idea though so maybe fine as is...
mutable absl::flat_hash_map<SnapshotObjectId, HeapEntry*>Let's add a comment here why this is `mutable`. I understand that you want `GetEntryById` to work as `const` (and this makes sense) but it's probably hard to see from here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Copyright 2013 the V8 project authors. All rights reserved.Completely unrelated follow up request: Snapshots are not on the super critical perf path. Can we get rid of the inline header and just move all these accessors to .cc?
+1. I will do this in a follow-up.
CppHeapWrapperSet& GetCppHeapWrappers() { return cpp_heap_wrappers_; }Personally, I really dislike the name "wrapper" here if we are allowing more and more arbitrary references back and forth.
C++->JS is already allowed on non-wrapper/wrappable scenarios. The global proxy setup also already forms a weird circle IIRC.
I don't have a good idea though so maybe fine as is...
Agreed.
mutable absl::flat_hash_map<SnapshotObjectId, HeapEntry*>Let's add a comment here why this is `mutable`. I understand that you want `GetEntryById` to work as `const` (and this makes sense) but it's probably hard to see from here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[profiler] Emit standalone JS to cppgc edges
This CL starts to emit edges from JS --> C++ even when the C++ does not
have a back-ref to the JS object. This fixes unreachable objects in
heap snapshot when e.g. a DOM object was kept alive by a non-main
world JS object. In such cases there is JS --> C++ reference but the
C++ object does not have a direct back-ref to an e.g. extension's JS
wrapper object.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |