| Commit-Queue | +1 |
shared_space_isolate->wasm_shared_canonical_types_mutex()->Lock();I did not find a nice way to use `MutexGuard` here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
MaybeDirectHandle<WeakFixedArray> maybe_new_rtts =You could consider inlining this for brevity:
```
if (MaybeGrowRtts(...).ToHandle(&new_rtts)) {
...
```
at the cost of having more stuff on that `if` line. Up to you; we have precedent for both patterns.
shared_space_isolate->wasm_shared_canonical_types_mutex()->Lock();I did not find a nice way to use `MutexGuard` here.
`std::optional<base::MutexGuard> lock;` near line 72, and `lock.emplace(..._mutex())` here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
You could consider inlining this for brevity:
```
if (MaybeGrowRtts(...).ToHandle(&new_rtts)) {
...
```
at the cost of having more stuff on that `if` line. Up to you; we have precedent for both patterns.
Done
shared_space_isolate->wasm_shared_canonical_types_mutex()->Lock();Jakob KummerowI did not find a nice way to use `MutexGuard` here.
`std::optional<base::MutexGuard> lock;` near line 72, and `lock.emplace(..._mutex())` here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| 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. |
[wasm][shared] Fix cross-instance type checks
Shared rtts have to be shared across all instances defining the same
canonical type. Therefore we need to maintain an array of them in the
shared-space isolate. Note that we cannot just store them in the
shared-space isolate's wasm_canonical_rtts array because that is not
shared and therefore is not accessible by other isolates.
| 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. |