Repository: denoland/deno_core
Pull request #811 (2024-07-09 02:24:37)

feat: upgrade rusty_v8 to 0.97.0
Includes:
- [Use &mut Isolate in Object::wrap and Object::unwrap](https://github.com/denoland/rusty_v8/pull/1518)
- [feat: enable maglev](https://github.com/denoland/rusty_v8/pull/1517)

codecov-commenter: ## [Codecov](https://app.codecov.io/gh/denoland/deno_core/pull/811?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=denoland) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 81.69%. Comparing base [(`0c7f83e`)](https://app.codecov.io/gh/denoland/deno_core/commit/0c7f83ea8daabe8f541fc93ae97529dc446f5f24?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=denoland) to head [(`82c624a`)](https://app.codecov.io/gh/denoland/deno_core/commit/82c624aa66bd6686d455dc5f3980ecca0f167d99?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=denoland).
> Report is 51 commits behind head on main.

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##             main     #811      +/-   ##
==========================================
+ Coverage   81.43%   81.69%   +0.25%     
==========================================
  Files          97       98       +1     
  Lines       23877    24324     +447     
==========================================
+ Hits        19445    19872     +427     
- Misses       4432     4452      +20     
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/denoland/deno_core/pull/811?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=denoland).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=denoland).


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index 7177320..6c3af73 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2735,9 +2735,9 @@ dependencies = [
 
 [[package]]
 name = "v8"
-version = "0.96.0"
+version = "0.97.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fecc88a0a882b5b2d2a1a4a166e19657fe786220a4319a982f8e36f6136ab93"
+checksum = "5ecc402c55b363c29901bdd0613c68213b01c5b2a3ee362d5e985cb74901b472"
 dependencies = [
  "bindgen",
  "bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 4024baa..53f98dd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ deno_ops = { version = "0.168.0", path = "./ops" }
 serde_v8 = { version = "0.201.0", path = "./serde_v8" }
 deno_core_testing = { path = "./testing" }
 
-v8 = { version = "0.96.0", default-features = false }
+v8 = { version = "0.97.0", default-features = false }
 deno_ast = { version = "=0.35.3", features = ["transpiling"] }
 deno_unsync = "0.3.2"
 deno_core_icudata = "0.0.73"


Test patch:
diff --git a/.github/workflows/ci-test-valgrind/suppressions.txt b/.github/workflows/ci-test-valgrind/suppressions.txt
index dcdffa9..ee24aaa 100644
--- a/.github/workflows/ci-test-valgrind/suppressions.txt
+++ b/.github/workflows/ci-test-valgrind/suppressions.txt
@@ -27,3 +27,19 @@
    Memcheck:Cond
    fun:_ZN4heap4base12_GLOBAL__N_122IteratePointersInStack*
 }
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Value8
+   fun:_ZN2v88internal17InstructionStream16RelocateFromDescERNS0_21WritableJitAllocationEPNS0_4HeapERKNS0_8CodeDescEmRKNS0_22CombinationAssertScopeIJNS0_29PerThreadAssertScopeDebugOnlyILNS0_19PerThreadAssertTypeE0ELb0EEENSA_ILSB_1ELb0EEEEEE
+   fun:_ZN2v88internal7Factory11CodeBuilder13BuildInternalEb
+   fun:_ZN2v88internal6maglev19MaglevCodeGenerator15BuildCodeObjectEPNS0_12LocalIsolateE
+   fun:_ZN2v88internal6maglev14MaglevCompiler12GenerateCodeEPNS0_7IsolateEPNS1_21MaglevCompilationInfoE
+   fun:_ZN2v88internal6maglev20MaglevCompilationJob15FinalizeJobImplEPNS0_7IsolateE
+   fun:_ZN2v88internal8Compiler28FinalizeMaglevCompilationJobEPNS0_6maglev20MaglevCompilationJobEPNS0_7IsolateE
+   fun:_ZN2v88internal12_GLOBAL__N_113CompileMaglevEPNS0_7IsolateENS0_6HandleINS0_10JSFunctionEEENS0_15ConcurrencyModeENS0_14BytecodeOffsetENS1_21CompileResultBehaviorE
+   fun:_ZN2v88internal12_GLOBAL__N_121GetOrCompileOptimizedEPNS0_7IsolateENS0_6HandleINS0_10JSFunctionEEENS0_15ConcurrencyModeENS0_8CodeKindENS0_14BytecodeOffsetENS1_21CompileResultBehaviorE
+   fun:_ZN2v88internal8Compiler16CompileOptimizedEPNS0_7IsolateENS0_6HandleINS0_10JSFunctionEEENS0_15ConcurrencyModeENS0_8CodeKindE
+   fun:_ZN2v88internal24Runtime_CompileOptimizedEiPmPNS0_7IsolateE
+   fun:Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit
+   fun:Builtins_CompileLazy
+}