Use Get() instead of deprecated arrow operator.#4328
Conversation
|
Is this the same change we've tried to make several times before and it caused crashes in production every time but no one ever debugged it? |
Yes. I've tried it twice at least |
|
I wasn't sure but yes it is. Same as #714, currently we patch in the old version in |
|
Both reverts only say it caused trouble in tests, though. I thought there was a time it got to prod and caused crashes but maybe I'm misremembering. |
|
Fifth attempt: #4122 |
|
Probably the problem is that |
In preparation for V8 13.9 where the operator is gone.
f1afebc to
d04ffd1
Compare
|
It's sort of dumb to make handles during a GC, since they are roots, and the number of roots should not change during GC, but the new API requires it. However I think it's enough to just create a HandleScope so that the newly created handles are quickly destroyed again before GC continues. Let's see if that fixes it (or was that also already tried)? I'm also trying to upstream https://chromium-review.googlesource.com/c/v8/v8/+/6652167 to make this footgun less subtle. |
|
I checked the linked attempts here, and none of them added the HandleScope. |
In preparation for V8 13.9 where the operator is
gone.