Commit fbc8cd9
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: #3945
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James Snell <jasnell@gmail.com>1 parent cf98211 commit fbc8cd9Copy full SHA for fbc8cd9
File tree
Expand file treeCollapse file tree
5 files changed
+76
-4
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src
- test/cctest
Expand file treeCollapse file tree
5 files changed
+76
-4
lines changedOpen diff view settings
Collapse file
+21Lines changed: 21 additions & 0 deletions
| 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 | |
|
Collapse file
+21Lines changed: 21 additions & 0 deletions
| 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 | |
|
Collapse file
+1-4Lines changed: 1 addition & 4 deletions
| 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 | |
|
Collapse file
deps/v8/test/cctest/cctest.status
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/cctest.status+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
43 | 43 | |
44 | 44 | |
45 | 45 | |
| 46 | + |
46 | 47 | |
47 | 48 | |
48 | 49 | |
|
Collapse file
deps/v8/test/cctest/test-api.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-api.cc+32Lines changed: 32 additions & 0 deletions
| 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