libv8-node 22.7.0.1 → 22.7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bd06d4fd65ef28f72f2b2f7330f81272290fbc60dd0a27824a00b9f2f79df06
4
- data.tar.gz: ab2b24ef93cff90fc5389d201c85fe01d7b336df1d4171879fe5e8f1e76ad9d0
3
+ metadata.gz: 0664606c892f56d08aea4961bc2f18d227d47e1d7d67e2377669231de9d9ee11
4
+ data.tar.gz: bf029ab837a59b4e69fe2763d06e78c9e7af44647b28fa5a135898da4343d420
5
5
  SHA512:
6
- metadata.gz: 6e752131a64f761f6a7ea8a41435ca4e12c524165bc9c1bac37cd1398db15561530d242b1640583d70bf7698867ba016f68b2135c288ef5474a0c9e5421799ab
7
- data.tar.gz: 388e789e892aafad037c16e6bc1181f591541032b4329835aef61a5bb521bb22800cd11d9760a3a38538186ce6f47701075588973f11fba936c2e6ae702bbbdf
6
+ metadata.gz: '082891bcf424284b8af78e0aa685772f6ed79b9ab45da9bc3a46d963e96a57bf13ed2a704ff24d0caf0d179d3811c1692f0732cda50a98e5a305416c355e6e00'
7
+ data.tar.gz: 63b11de2ea10e8a717d125553cc52e63ba9fba296275319351c3853f83d8363bf6ff2f2de79766a7a4e9ccdff7dd897f42fba5cf66368d832a7350ed5e7ee615
@@ -4,7 +4,7 @@ module Libv8
4
4
  end
5
5
 
6
6
  module Libv8::Node
7
- VERSION = '22.7.0.1'
7
+ VERSION = '22.7.0.3'
8
8
  NODE_VERSION = '22.7.0'
9
9
  LIBV8_VERSION = '12.4.254.21' # from src/node-.../deps/v8/include/v8-version.h
10
10
  end
data/libexec/build-libv8 CHANGED
@@ -17,7 +17,9 @@ BUILDTYPE="${BUILDTYPE:-Release}"
17
17
 
18
18
  cd "${src}/node-v${version}"
19
19
 
20
- configure_flags='--openssl-no-asm --without-npm --shared --with-intl=full-icu'
20
+ # Maglev is disabled because of a suspected x64 snapshot regression in
21
+ # DoComputeOutputFrames
22
+ configure_flags='--v8-disable-maglev --openssl-no-asm --without-npm --shared --with-intl=full-icu'
21
23
  eval "$("${libexec}/platform")"
22
24
 
23
25
  echo "configure: ${configure_flags}"
data/libexec/extract-node CHANGED
@@ -35,6 +35,7 @@ cd "${src}/node-v${version}"
35
35
  patch -p1 < "${top}"/patch/v8-no-assert-trivially-copyable.patch
36
36
  patch -p1 < "${top}"/patch/v8-disable-madv-dontfork.patch
37
37
  patch -p1 < "${top}"/patch/v8-disable-pkey.patch
38
+ patch -p1 < "${top}"/patch/v8-disable-marking.patch
38
39
 
39
40
  # TODO: the following still fails on py3 so the above one forcing py2 is needed
40
41
  # patch -p1 < ../../py3-genv8constants.patch
@@ -0,0 +1,22 @@
1
+ diff --git a/deps/v8/src/flags/flag-definitions.h b/deps/v8/src/flags/flag-definitions.h
2
+ index 0d50ac1522..2854768562 100644
3
+ --- a/deps/v8/src/flags/flag-definitions.h
4
+ +++ b/deps/v8/src/flags/flag-definitions.h
5
+ @@ -1764,7 +1764,7 @@ DEFINE_BOOL(minor_ms_trace_fragmentation, false,
6
+ DEFINE_BOOL(trace_evacuation, false, "report evacuation statistics")
7
+ DEFINE_BOOL(trace_mutator_utilization, false,
8
+ "print mutator utilization, allocation speed, gc speed")
9
+ -DEFINE_BOOL(incremental_marking, true, "use incremental marking")
10
+ +DEFINE_BOOL(incremental_marking, false, "use incremental marking")
11
+ DEFINE_BOOL(incremental_marking_bailout_when_ahead_of_schedule, true,
12
+ "bails out of incremental marking when ahead of schedule")
13
+ DEFINE_BOOL(incremental_marking_task, true, "use tasks for incremental marking")
14
+ @@ -1794,7 +1794,7 @@ DEFINE_IMPLICATION(cppgc_young_generation, minor_ms)
15
+ DEFINE_NEG_IMPLICATION(cppgc_young_generation, reclaim_unmodified_wrappers)
16
+ DEFINE_BOOL(optimize_gc_for_battery, false, "optimize GC for battery")
17
+ #if defined(V8_ATOMIC_OBJECT_FIELD_WRITES)
18
+ -DEFINE_BOOL(concurrent_marking, true, "use concurrent marking")
19
+ +DEFINE_BOOL(concurrent_marking, false, "use concurrent marking")
20
+ #else
21
+ // Concurrent marking cannot be used without atomic object field loads and
22
+ // stores.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8-node
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.7.0.1
4
+ version: 22.7.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-04 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -68,6 +68,7 @@ files:
68
68
  - patch/py2-icutrim.patch
69
69
  - patch/py3-genv8constants.patch
70
70
  - patch/v8-disable-madv-dontfork.patch
71
+ - patch/v8-disable-marking.patch
71
72
  - patch/v8-disable-pkey.patch
72
73
  - patch/v8-no-assert-trivially-copyable.patch
73
74
  - sums/v16.10.0.sum