-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Re-apply fix for CFunctionInfo/CTypeInfo leak in OpCtx #714
base: main
Are you sure you want to change the base?
Conversation
I think we may need to revisit the code in rusty_v8 -- creating the CTypeInfo and CFunctionInfo should probably yield I'm not 100% sure, but I think the temporary reference is actually unsound here. |
There aren't any temporary references being created here - |
@svix-aaron1011 I think you might need to revisit While we're in there, we should fix the other places we do this as well |
Now that rusty_v8 has been bumped to include denoland/rusty_v8#1471, is there anything else I need to do for this PR? |
I think we just need to re-run a build of deno + tests w/this patch and then we can re-land |
3f2b4c0
to
f103a77
Compare
I've rebase the pr, and the tests are passing |
@svix-aaron1011, sorry the delay. I'll open a PR in |
I tried it in denoland/deno#24142 and I'm getting:
https://github.com/denoland/deno/actions/runs/9423154307/job/25960976323?pr=24142 Calling @devsnek for help with this one. |
looks like a bug in turbofan? I've never seen code free CFunctionInfo before (it's usually statically allocated...) so I'm not totally sure what the right thing to do is, I'd need to take a look at V8 source. |
Another try in denoland/deno#24169 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #714 +/- ##
==========================================
+ Coverage 81.43% 81.50% +0.06%
==========================================
Files 97 97
Lines 23877 24027 +150
==========================================
+ Hits 19445 19583 +138
- Misses 4432 4444 +12 ☔ View full report in Codecov by Sentry. |
No description provided.