Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r236022 - Don't dump OSRAvailabilityData in Graph::dump because…
… a stale Availability may point to a Node that is already freed https://bugs.webkit.org/show_bug.cgi?id=189628 <rdar://problem/39481690> Reviewed by Mark Lam. JSTests: * stress/verbose-failure-dont-graph-dump-availability-already-freed.js: Added. (foo): Source/JavaScriptCore: An Availability may point to a Node. And that Node may be removed from the graph, e.g, it's freed and its memory is no longer owned by Graph. This patch makes it so we no longer dump this metadata by default. If this metadata is interesting to you, you'll need to go in and change Graph::dump to dump the needed metadata. * dfg/DFGGraph.cpp: (JSC::DFG::Graph::dump):
- Loading branch information
1 parent
f0bab6d
commit c8f3f5a
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
JSTests/stress/verbose-failure-dont-graph-dump-availability-already-freed.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//@ runDefault("--verboseValidationFailure=true") | ||
|
||
function foo() { | ||
arguments.length; | ||
} | ||
let a = 0; | ||
for (var i = 0; i < 1000000; i++) { | ||
a += foo(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters