This repository was archived by the owner on Oct 16, 2021. It is now read-only.
Commit 6130273
deps: backport 1f8555 from v8's upstream
Original commit message:
api: introduce SealHandleScope
When debugging Handle leaks in io.js we found it very convenient to be
able to Seal some specific (root in our case) scope to prevent Handle
allocations in it, and easily find leakage.
R=yangguo
BUG=
Review URL: https://codereview.chromium.org/1079713002
Cr-Commit-Position: refs/heads/master@{#27766}
Should help us identify and fix Handle leaks in core and user-space code.
PR-URL: nodejs/node#3945
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: James Snell <[email protected]>1 parent 90f5e7a commit 6130273
File tree
5 files changed
+76
-4
lines changed- deps/v8
- include
- src
- test/cctest
5 files changed
+76
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
947 | 968 | | |
948 | 969 | | |
949 | 970 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
640 | 661 | | |
641 | 662 | | |
642 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | 653 | | |
657 | 654 | | |
658 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20625 | 20625 | | |
20626 | 20626 | | |
20627 | 20627 | | |
| 20628 | + | |
| 20629 | + | |
| 20630 | + | |
| 20631 | + | |
| 20632 | + | |
| 20633 | + | |
| 20634 | + | |
| 20635 | + | |
| 20636 | + | |
| 20637 | + | |
| 20638 | + | |
| 20639 | + | |
| 20640 | + | |
| 20641 | + | |
| 20642 | + | |
| 20643 | + | |
| 20644 | + | |
| 20645 | + | |
| 20646 | + | |
| 20647 | + | |
| 20648 | + | |
| 20649 | + | |
| 20650 | + | |
| 20651 | + | |
| 20652 | + | |
| 20653 | + | |
| 20654 | + | |
| 20655 | + | |
| 20656 | + | |
| 20657 | + | |
| 20658 | + | |
| 20659 | + | |
20628 | 20660 | | |
20629 | 20661 | | |
20630 | 20662 | | |
| |||
0 commit comments