@@ -259,10 +259,6 @@ declare_args() {
259259 # specific hook).
260260 v8_check_header_includes = false
261261
262- # Enable sharing read-only space across isolates.
263- # Sets -DV8_SHARED_RO_HEAP.
264- v8_enable_shared_ro_heap = " "
265-
266262 # Enable lazy source positions by default.
267263 v8_enable_lazy_source_positions = true
268264
@@ -597,9 +593,6 @@ if (v8_enable_short_builtin_calls &&
597593 # guaranteed to be close enough to embedded builtins.
598594 v8_enable_short_builtin_calls = false
599595}
600- if (v8_enable_shared_ro_heap == " " ) {
601- v8_enable_shared_ro_heap = true
602- }
603596
604597if (v8_enable_sandbox == " " ) {
605598 # TODO(saelo, v8:11880) remove dependency on v8_enable_external_code_space
@@ -622,15 +615,13 @@ if (v8_enable_static_roots == "") {
622615 # without external code space allocate read only roots at a further
623616 # location relative to the cage base.
624617 v8_enable_static_roots =
625- v8 _enable_pointer_compression && v8 _enable_shared_ro_heap &&
626- v8 _enable_external_code_space && v8 _enable_webassembly &&
627- v8 _enable_i18 n_support
618+ v8 _enable_pointer_compression && v8 _enable_external_code_space &&
619+ v8 _enable_webassembly && v8 _enable_i18 n_support
628620}
629621
630622assert (! v8_enable_static_roots ||
631- (v8_enable_pointer_compression && v8_enable_shared_ro_heap &&
632- v8_enable_external_code_space && v8_enable_webassembly &&
633- v8_enable_i18n_support ),
623+ (v8_enable_pointer_compression && v8_enable_external_code_space &&
624+ v8_enable_webassembly && v8_enable_i18n_support ),
634625 " Trying to enable static roots in a configuration that is not supported" )
635626
636627assert (
@@ -1215,9 +1206,6 @@ config("features") {
12151206 if (v8_use_siphash ) {
12161207 defines += [ " V8_USE_SIPHASH" ]
12171208 }
1218- if (v8_enable_shared_ro_heap ) {
1219- defines += [ " V8_SHARED_RO_HEAP" ]
1220- }
12211209 if (v8_win64_unwinding_info ) {
12221210 defines += [ " V8_WIN64_UNWINDING_INFO" ]
12231211 }
@@ -2811,7 +2799,7 @@ action("v8_dump_build_config") {
28112799 mips_use_msa_var = mips_use_msa
28122800 }
28132801
2814- js_shared_memory = v8_enable_shared_ro_heap && ! v8 _disable_write_barriers
2802+ js_shared_memory = ! v8 _disable_write_barriers
28152803 simd_mips = mips_arch_variant_var == " r6" && mips_use_msa
28162804 simulator_run = target_cpu != v8_target_cpu
28172805 use_sanitizer = is_asan || is_cfi || is_msan || is_tsan || is_ubsan
@@ -2870,7 +2858,6 @@ action("v8_dump_build_config") {
28702858 " pointer_compression_shared_cage=$v8_enable_pointer_compression_shared_cage " ,
28712859 " runtime_call_stats=$v8_enable_runtime_call_stats " ,
28722860 " sandbox=$v8_enable_sandbox " ,
2873- " shared_ro_heap=$v8_enable_shared_ro_heap " ,
28742861 " simd_mips=$simd_mips " ,
28752862 " simulator_run=$simulator_run " ,
28762863 " single_generation=$v8_enable_single_generation " ,
@@ -2921,7 +2908,6 @@ generated_file("v8_generate_features_json") {
29212908 v8_enable_pointer_compression_shared_cage =
29222909 v8 _enable_pointer_compression_shared_cage
29232910 v8_enable_sandbox = v8_enable_sandbox
2924- v8_enable_shared_ro_heap = v8_enable_shared_ro_heap
29252911 v8_enable_short_builtin_calls = v8_enable_short_builtin_calls
29262912 v8_enable_v8_checks = v8_enable_v8_checks
29272913 v8_enable_webassembly = v8_enable_webassembly
0 commit comments