summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-05-22 21:04:59 -0600
committerGitHub <noreply@github.com>2024-05-23 03:04:59 +0000
commitb009c84bc6f773326d41bbd7f86cec2a5309291a (patch)
tree22e3f63a2f1485eb9445bbe52506814da04f9a74
parent71375491d135b7e5e48a09a39317aa7510594a35 (diff)
feat: enable pointer compression via deno_core bump (#23838)
v8 12.6 w/pointer compression enabled. Closes https://github.com/denoland/deno/issues/18935
-rw-r--r--Cargo.lock16
-rw-r--r--Cargo.toml2
-rw-r--r--runtime/js/99_main.js2
-rw-r--r--tests/testdata/run/heapstats.js.out4
4 files changed, 11 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index f219c80ae..7f7b51fd0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1303,9 +1303,9 @@ dependencies = [
[[package]]
name = "deno_core"
-version = "0.280.0"
+version = "0.282.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12d26f2d3e243bbbdd0851ab542b20ec48ac1fcf6c64ab06e81133da3113ebdd"
+checksum = "cde984155f9ec0986cb2b8e444ad675822968c5042ded50e32647f907eefd4b4"
dependencies = [
"anyhow",
"bincode",
@@ -1753,9 +1753,9 @@ dependencies = [
[[package]]
name = "deno_ops"
-version = "0.156.0"
+version = "0.158.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8237b272db1a6cb941b8a5a63ba63539004a8263e8b0230a11136d76eea273f9"
+checksum = "f24983ce064294d3046f4fce5c53de4e6e08488c1d53f2387917f63f43cdfda8"
dependencies = [
"proc-macro-rules",
"proc-macro2",
@@ -5751,9 +5751,9 @@ dependencies = [
[[package]]
name = "serde_v8"
-version = "0.189.0"
+version = "0.191.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "893c995255d6fbf55c33166b651fd037c4e3cc7864bf82213ea18d0ec94ed165"
+checksum = "af3b1eaa93eacbbfc08f3fc18ff7418262781ebbeca3282e36a7f26d9c679b50"
dependencies = [
"num-bigint",
"serde",
@@ -7291,9 +7291,9 @@ dependencies = [
[[package]]
name = "v8"
-version = "0.91.1"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69026e2e8af55a4d2f20c0c17f690e8b31472bf76ab75b1205d3a0fab60c8f84"
+checksum = "234589219e37a7496cbce73d971586db8369871be2420372c45a579b6a919b15"
dependencies = [
"bitflags 2.5.0",
"fslock",
diff --git a/Cargo.toml b/Cargo.toml
index 5fd27f79d..b3b96c85f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,7 +44,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
deno_ast = { version = "=0.38.2", features = ["transpiling"] }
-deno_core = { version = "0.280.0" }
+deno_core = { version = "0.282.0" }
deno_bench_util = { version = "0.147.0", path = "./bench_util" }
deno_lockfile = "0.19.0"
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 6e423af6b..3fa9fc41b 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -98,8 +98,6 @@ import {
SymbolMetadata,
} from "ext:deno_web/00_infra.js";
// deno-lint-ignore prefer-primordials
-if (Symbol.dispose) throw "V8 supports Symbol.dispose now, no need to shim it!";
-// deno-lint-ignore prefer-primordials
if (Symbol.asyncDispose) {
throw "V8 supports Symbol.asyncDispose now, no need to shim it!";
}
diff --git a/tests/testdata/run/heapstats.js.out b/tests/testdata/run/heapstats.js.out
index 954266333..b75a755f8 100644
--- a/tests/testdata/run/heapstats.js.out
+++ b/tests/testdata/run/heapstats.js.out
@@ -1,2 +1,2 @@
-Allocated: 8MB
-Freed: -8MB
+Allocated: 4MB
+Freed: -4MB