Skip to content

Commit

Permalink
re-enable pointer compression in v8 now that the new RLIMIT_DATA acco…
Browse files Browse the repository at this point in the history
…unting

has been commited
  • Loading branch information
rnagy committed Mar 5, 2020
1 parent 6734258 commit a4a061c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 31 deletions.
4 changes: 3 additions & 1 deletion www/chromium/Makefile
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.491 2020/03/04 15:44:17 robert Exp $
# $OpenBSD: Makefile,v 1.492 2020/03/05 07:52:49 robert Exp $

.include <bsd.port.arch.mk>

Expand Down Expand Up @@ -35,6 +35,8 @@ FLAVORS= debug component electron
FLAVOR?=
.if ${FLAVOR:Melectron}
REVISION= 6
.else
REVISION= 0
.endif

# BSD-like
Expand Down
13 changes: 1 addition & 12 deletions www/chromium/patches/patch-v8_BUILD_gn
@@ -1,22 +1,11 @@
$OpenBSD: patch-v8_BUILD_gn,v 1.29 2020/02/22 12:33:22 robert Exp $
$OpenBSD: patch-v8_BUILD_gn,v 1.30 2020/03/05 07:52:49 robert Exp $

Disable v8_enable_pointer_compression because it allocates 4G+ memory.
A complete shitshow!

Index: v8/BUILD.gn
--- v8/BUILD.gn.orig
+++ v8/BUILD.gn
@@ -103,8 +103,8 @@ declare_args() {
v8_enable_verify_csa = false

# Enable pointer compression (sets -dV8_COMPRESS_POINTERS).
- v8_enable_pointer_compression = ""
- v8_enable_31bit_smis_on_64bit_arch = true
+ v8_enable_pointer_compression = false
+ v8_enable_31bit_smis_on_64bit_arch = false

# Sets -dOBJECT_PRINT.
v8_enable_object_print = ""
@@ -673,6 +673,9 @@ config("toolchain") {
} else if (target_os == "win") {
defines += [ "V8_HAVE_TARGET_OS" ]
Expand Down
18 changes: 0 additions & 18 deletions www/chromium/patches/patch-v8_src_common_globals_h

This file was deleted.

0 comments on commit a4a061c

Please sign in to comment.