node-linux-s390x 22.9.0 → 23.0.0
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.
- package/CHANGELOG.md +395 -1901
- package/README.md +13 -4
- package/bin/node +0 -0
- package/include/node/common.gypi +3 -3
- package/include/node/config.gypi +3 -3
- package/include/node/cppgc/allocation.h +10 -11
- package/include/node/cppgc/garbage-collected.h +8 -0
- package/include/node/cppgc/heap-statistics.h +2 -0
- package/include/node/cppgc/internal/api-constants.h +6 -1
- package/include/node/cppgc/internal/compiler-specific.h +9 -1
- package/include/node/cppgc/internal/gc-info.h +12 -10
- package/include/node/cppgc/internal/member-storage.h +6 -0
- package/include/node/cppgc/internal/name-trait.h +5 -1
- package/include/node/cppgc/name-provider.h +7 -0
- package/include/node/node.h +8 -18
- package/include/node/node_api.h +12 -0
- package/include/node/node_version.h +3 -3
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/sslerr.h +3 -1
- package/include/node/openssl/tls1.h +3 -1
- package/include/node/v8-array-buffer.h +44 -24
- package/include/node/v8-callbacks.h +10 -5
- package/include/node/v8-context.h +41 -9
- package/include/node/v8-cppgc.h +3 -55
- package/include/node/v8-date.h +9 -0
- package/include/node/v8-embedder-heap.h +4 -1
- package/include/node/v8-exception.h +70 -0
- package/include/node/v8-function-callback.h +203 -62
- package/include/node/v8-function.h +4 -3
- package/include/node/v8-handle-base.h +2 -2
- package/include/node/v8-initialization.h +18 -1
- package/include/node/v8-internal.h +303 -58
- package/include/node/v8-isolate.h +51 -39
- package/include/node/v8-local-handle.h +18 -19
- package/include/node/v8-message.h +0 -21
- package/include/node/v8-microtask-queue.h +0 -5
- package/include/node/v8-object.h +284 -35
- package/include/node/v8-persistent-handle.h +0 -19
- package/include/node/v8-platform.h +21 -35
- package/include/node/v8-primitive.h +92 -1
- package/include/node/v8-profiler.h +38 -1
- package/include/node/v8-promise.h +2 -2
- package/include/node/v8-sandbox.h +173 -0
- package/include/node/v8-script.h +44 -14
- package/include/node/v8-snapshot.h +38 -2
- package/include/node/v8-template.h +105 -263
- package/include/node/v8-traced-handle.h +4 -15
- package/include/node/v8-unwinder.h +2 -1
- package/include/node/v8-value.h +3 -2
- package/include/node/v8-version.h +3 -3
- package/include/node/v8-wasm.h +3 -0
- package/include/node/v8config.h +47 -7
- package/package.json +1 -1
- package/share/doc/node/gdbinit +41 -3
- package/share/doc/node/lldb_commands.py +7 -2
- package/share/man/man1/node.1 +3 -14
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Sep 30 17:14:30 2024 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Sep 30 17:14:46 2024 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: solaris64-x86_64-gcc"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Mon Sep 30 17:15:02 2024 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 15
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.15"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.15+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "3 Sep 2024"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15+quic 3 Sep 2024"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
-
* Copyright 1995-
|
|
3
|
+
* Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
6
6
|
* this file except in compliance with the License. You can obtain a copy
|
|
@@ -284,10 +284,12 @@
|
|
|
284
284
|
# define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
|
|
285
285
|
# define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
|
|
286
286
|
# define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
|
|
287
|
+
# define SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL 1120
|
|
287
288
|
# define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
|
|
288
289
|
# define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
|
|
289
290
|
# define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
|
|
290
291
|
# define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
|
|
292
|
+
# define SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY 1115
|
|
291
293
|
# define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
|
|
292
294
|
# define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
|
|
293
295
|
# define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright 1995-
|
|
2
|
+
* Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
3
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
|
4
4
|
* Copyright 2005 Nokia. All rights reserved.
|
|
5
5
|
*
|
|
@@ -214,6 +214,8 @@ extern "C" {
|
|
|
214
214
|
# define TLSEXT_max_fragment_length_1024 2
|
|
215
215
|
# define TLSEXT_max_fragment_length_2048 3
|
|
216
216
|
# define TLSEXT_max_fragment_length_4096 4
|
|
217
|
+
/* OpenSSL value for unset maximum fragment length extension */
|
|
218
|
+
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
|
|
217
219
|
|
|
218
220
|
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
|
|
219
221
|
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);
|
|
@@ -18,11 +18,12 @@ namespace v8 {
|
|
|
18
18
|
class SharedArrayBuffer;
|
|
19
19
|
|
|
20
20
|
#ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT
|
|
21
|
-
//
|
|
21
|
+
// Defined using gn arg `v8_array_buffer_internal_field_count`.
|
|
22
22
|
#define V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT 2
|
|
23
23
|
#endif
|
|
24
24
|
|
|
25
25
|
enum class ArrayBufferCreationMode { kInternalized, kExternalized };
|
|
26
|
+
enum class BackingStoreInitializationMode { kZeroInitialized, kUninitialized };
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* A wrapper around the backing store (i.e. the raw memory) of an array buffer.
|
|
@@ -87,6 +88,9 @@ class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
|
|
|
87
88
|
* Assumes that the backing_store was allocated by the ArrayBuffer allocator
|
|
88
89
|
* of the given isolate.
|
|
89
90
|
*/
|
|
91
|
+
V8_DEPRECATED(
|
|
92
|
+
"Reallocate is unsafe, please do not use. Please allocate a new "
|
|
93
|
+
"BackingStore and copy instead.")
|
|
90
94
|
static std::unique_ptr<BackingStore> Reallocate(
|
|
91
95
|
v8::Isolate* isolate, std::unique_ptr<BackingStore> backing_store,
|
|
92
96
|
size_t byte_length);
|
|
@@ -179,6 +183,9 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
179
183
|
*
|
|
180
184
|
* The default implementation allocates a new block and copies data.
|
|
181
185
|
*/
|
|
186
|
+
V8_DEPRECATED(
|
|
187
|
+
"Reallocate is unsafe, please do not use. Please allocate new memory "
|
|
188
|
+
"and copy instead.")
|
|
182
189
|
virtual void* Reallocate(void* data, size_t old_length, size_t new_length);
|
|
183
190
|
|
|
184
191
|
/**
|
|
@@ -211,12 +218,15 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
211
218
|
size_t MaxByteLength() const;
|
|
212
219
|
|
|
213
220
|
/**
|
|
214
|
-
* Create a new ArrayBuffer. Allocate |byte_length| bytes
|
|
215
|
-
* Allocated memory will be owned by a
|
|
216
|
-
* will be deallocated when it is garbage-collected,
|
|
221
|
+
* Create a new ArrayBuffer. Allocate |byte_length| bytes, which are either
|
|
222
|
+
* zero-initialized or uninitialized. Allocated memory will be owned by a
|
|
223
|
+
* created ArrayBuffer and will be deallocated when it is garbage-collected,
|
|
217
224
|
* unless the object is externalized.
|
|
218
225
|
*/
|
|
219
|
-
static Local<ArrayBuffer> New(
|
|
226
|
+
static Local<ArrayBuffer> New(
|
|
227
|
+
Isolate* isolate, size_t byte_length,
|
|
228
|
+
BackingStoreInitializationMode initialization_mode =
|
|
229
|
+
BackingStoreInitializationMode::kZeroInitialized);
|
|
220
230
|
|
|
221
231
|
/**
|
|
222
232
|
* Create a new ArrayBuffer with an existing backing store.
|
|
@@ -235,15 +245,18 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
235
245
|
|
|
236
246
|
/**
|
|
237
247
|
* Returns a new standalone BackingStore that is allocated using the array
|
|
238
|
-
* buffer allocator of the isolate. The
|
|
248
|
+
* buffer allocator of the isolate. The allocation can either be zero
|
|
249
|
+
* intialized, or uninitialized. The result can be later passed to
|
|
239
250
|
* ArrayBuffer::New.
|
|
240
251
|
*
|
|
241
252
|
* If the allocator returns nullptr, then the function may cause GCs in the
|
|
242
253
|
* given isolate and re-try the allocation. If GCs do not help, then the
|
|
243
254
|
* function will crash with an out-of-memory error.
|
|
244
255
|
*/
|
|
245
|
-
static std::unique_ptr<BackingStore> NewBackingStore(
|
|
246
|
-
|
|
256
|
+
static std::unique_ptr<BackingStore> NewBackingStore(
|
|
257
|
+
Isolate* isolate, size_t byte_length,
|
|
258
|
+
BackingStoreInitializationMode initialization_mode =
|
|
259
|
+
BackingStoreInitializationMode::kZeroInitialized);
|
|
247
260
|
/**
|
|
248
261
|
* Returns a new standalone BackingStore that takes over the ownership of
|
|
249
262
|
* the given buffer. The destructor of the BackingStore invokes the given
|
|
@@ -287,7 +300,7 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
287
300
|
* preventing JavaScript from ever accessing underlying backing store.
|
|
288
301
|
* ArrayBuffer should have been externalized and must be detachable.
|
|
289
302
|
*/
|
|
290
|
-
|
|
303
|
+
V8_DEPRECATED(
|
|
291
304
|
"Use the version which takes a key parameter (passing a null handle is "
|
|
292
305
|
"ok).")
|
|
293
306
|
void Detach();
|
|
@@ -337,8 +350,9 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
337
350
|
return static_cast<ArrayBuffer*>(value);
|
|
338
351
|
}
|
|
339
352
|
|
|
340
|
-
static
|
|
341
|
-
|
|
353
|
+
static constexpr int kInternalFieldCount =
|
|
354
|
+
V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
|
|
355
|
+
static constexpr int kEmbedderFieldCount = kInternalFieldCount;
|
|
342
356
|
|
|
343
357
|
private:
|
|
344
358
|
ArrayBuffer();
|
|
@@ -346,7 +360,7 @@ class V8_EXPORT ArrayBuffer : public Object {
|
|
|
346
360
|
};
|
|
347
361
|
|
|
348
362
|
#ifndef V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT
|
|
349
|
-
//
|
|
363
|
+
// Defined using gn arg `v8_array_buffer_view_internal_field_count`.
|
|
350
364
|
#define V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT 2
|
|
351
365
|
#endif
|
|
352
366
|
|
|
@@ -393,10 +407,9 @@ class V8_EXPORT ArrayBufferView : public Object {
|
|
|
393
407
|
return static_cast<ArrayBufferView*>(value);
|
|
394
408
|
}
|
|
395
409
|
|
|
396
|
-
static
|
|
397
|
-
V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT;
|
|
398
|
-
static const int kEmbedderFieldCount =
|
|
410
|
+
static constexpr int kInternalFieldCount =
|
|
399
411
|
V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT;
|
|
412
|
+
static const int kEmbedderFieldCount = kInternalFieldCount;
|
|
400
413
|
|
|
401
414
|
private:
|
|
402
415
|
ArrayBufferView();
|
|
@@ -440,12 +453,15 @@ class V8_EXPORT SharedArrayBuffer : public Object {
|
|
|
440
453
|
size_t MaxByteLength() const;
|
|
441
454
|
|
|
442
455
|
/**
|
|
443
|
-
* Create a new SharedArrayBuffer. Allocate |byte_length| bytes
|
|
444
|
-
* Allocated memory will be owned by
|
|
445
|
-
* will be deallocated when it is
|
|
446
|
-
* unless the object is externalized.
|
|
456
|
+
* Create a new SharedArrayBuffer. Allocate |byte_length| bytes, which are
|
|
457
|
+
* either zero-initialized or uninitialized. Allocated memory will be owned by
|
|
458
|
+
* a created SharedArrayBuffer and will be deallocated when it is
|
|
459
|
+
* garbage-collected, unless the object is externalized.
|
|
447
460
|
*/
|
|
448
|
-
static Local<SharedArrayBuffer> New(
|
|
461
|
+
static Local<SharedArrayBuffer> New(
|
|
462
|
+
Isolate* isolate, size_t byte_length,
|
|
463
|
+
BackingStoreInitializationMode initialization_mode =
|
|
464
|
+
BackingStoreInitializationMode::kZeroInitialized);
|
|
449
465
|
|
|
450
466
|
/**
|
|
451
467
|
* Create a new SharedArrayBuffer with an existing backing store.
|
|
@@ -464,15 +480,18 @@ class V8_EXPORT SharedArrayBuffer : public Object {
|
|
|
464
480
|
|
|
465
481
|
/**
|
|
466
482
|
* Returns a new standalone BackingStore that is allocated using the array
|
|
467
|
-
* buffer allocator of the isolate. The
|
|
483
|
+
* buffer allocator of the isolate. The allocation can either be zero
|
|
484
|
+
* intialized, or uninitialized. The result can be later passed to
|
|
468
485
|
* SharedArrayBuffer::New.
|
|
469
486
|
*
|
|
470
487
|
* If the allocator returns nullptr, then the function may cause GCs in the
|
|
471
488
|
* given isolate and re-try the allocation. If GCs do not help, then the
|
|
472
489
|
* function will crash with an out-of-memory error.
|
|
473
490
|
*/
|
|
474
|
-
static std::unique_ptr<BackingStore> NewBackingStore(
|
|
475
|
-
|
|
491
|
+
static std::unique_ptr<BackingStore> NewBackingStore(
|
|
492
|
+
Isolate* isolate, size_t byte_length,
|
|
493
|
+
BackingStoreInitializationMode initialization_mode =
|
|
494
|
+
BackingStoreInitializationMode::kZeroInitialized);
|
|
476
495
|
/**
|
|
477
496
|
* Returns a new standalone BackingStore that takes over the ownership of
|
|
478
497
|
* the given buffer. The destructor of the BackingStore invokes the given
|
|
@@ -506,7 +525,8 @@ class V8_EXPORT SharedArrayBuffer : public Object {
|
|
|
506
525
|
return static_cast<SharedArrayBuffer*>(value);
|
|
507
526
|
}
|
|
508
527
|
|
|
509
|
-
static
|
|
528
|
+
static constexpr int kInternalFieldCount =
|
|
529
|
+
V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT;
|
|
510
530
|
|
|
511
531
|
private:
|
|
512
532
|
SharedArrayBuffer();
|