Skip to content
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

feat: Upgrade V8 to 13.4 #28080

Merged
merged 1 commit into from
Feb 14, 2025
Merged

feat: Upgrade V8 to 13.4 #28080

merged 1 commit into from
Feb 14, 2025

Conversation

devsnek
Copy link
Member

@devsnek devsnek commented Feb 12, 2025

  • upgrade v8 to 13.4
  • turbocall conversion for arraybuffers is now much more complex, so use cranelift
  • misc updates for deprecated fns
  • v8 default stack size is too small now, causing stack overflow exceptions in some tests
  • add syscall shim to support new syscall in old sysroot

@bartlomieju bartlomieju mentioned this pull request Feb 12, 2025
@@ -1559,19 +1609,52 @@ mod tests {
// See https://godbolt.org/z/hqv63M3Ko
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links are probably out of date now?

@devsnek devsnek force-pushed the x/upgrade-v8-134 branch 6 times, most recently from 7ef4c60 to bd8945f Compare February 13, 2025 19:15
// https://github.com/microsoft/vscode/blob/48d4ba271686e8072fc6674137415bc80d936bc7/extensions/typescript-language-features/src/configuration/configuration.ts#L213-L214
DenoSubcommand::Lsp => vec!["--max-old-space-size=3072".to_string()],
DenoSubcommand::Lsp => vec![
"--stack-size=1024".to_string(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that we need to always enable it, we should probably use it by default in deno_core. WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its just a hack for now, i'm asking around about raising the default stack size in v8 to account for the recent change that caused this.

@@ -2073,6 +2073,7 @@ fn napi_get_value_bool(
return napi_clear_last_error(env_ptr);
}

#[allow(deprecated)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should get on updating these deprecated calls ASAP after landing this PR

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go

@devsnek devsnek enabled auto-merge (squash) February 14, 2025 10:43
@devsnek devsnek merged commit 979e2f7 into main Feb 14, 2025
17 checks passed
@devsnek devsnek deleted the x/upgrade-v8-134 branch February 14, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants