Skip to content

Commit

Permalink
Explicitly set v8_enable_handle_zapping to false (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy authored Feb 11, 2023
1 parent ffb875d commit 6043e7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gn
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ default_args = {
v8_use_external_startup_data = false
v8_use_snapshot = true

# Disable handle zapping for performance
v8_enable_handle_zapping = false
# Ensure allocation of typed arrays and arraybuffers always goes through
# the embedder's ArrayBufferAllocator, otherwise small buffers get moved
# around by the garbage collector but embedders normally want them to have
Expand Down

0 comments on commit 6043e7d

Please sign in to comment.