| Summary: | Add some crash info to Heap::checkConn() RELEASE_ASSERTs. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, dbates, ews-watchlist, fpizlo, keith_miller, msaboff, rmorisset, saam, tzagallo, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Mark Lam
2018-07-27 13:26:26 PDT
Created attachment 345951 [details]
proposed patch.
Attachment 345951 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/Assertions.cpp:607: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:619: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:630: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:640: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:649: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:657: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:664: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:670: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:670: Extra space before ) [whitespace/parens] [2]
Total errors found: 9 in 8 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 345951 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=345951&action=review > Source/JavaScriptCore/ChangeLog:22 > + VM::isEntered() tells us is the current VM is currently executing JS code. /is/if/. Will fix before landing. Comment on attachment 345951 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=345951&action=review r=me. > Source/JavaScriptCore/ChangeLog:10 > + padding space in VM and Heap, and should cost any measurable perf to initialize should *only* cost? > Source/WTF/wtf/Assertions.cpp:676 > +void WTFCrashWithInfo(int, const char*, const char*, int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t) { CRASH(); } I think you need another line here. Comment on attachment 345951 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=345951&action=review Thanks for the review. >> Source/JavaScriptCore/ChangeLog:10 >> + padding space in VM and Heap, and should cost any measurable perf to initialize > > should *only* cost? I meant to say "should not cost" >> Source/WTF/wtf/Assertions.cpp:676 >> +void WTFCrashWithInfo(int, const char*, const char*, int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t) { CRASH(); } > > I think you need another line here. Fixed. Created attachment 345955 [details]
patch for landing.
Attachment 345955 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/Assertions.cpp:607: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:619: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:630: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:640: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:649: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:657: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:664: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:670: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WTF/wtf/Assertions.cpp:670: Extra space before ) [whitespace/parens] [2]
Total errors found: 9 in 8 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Landed in r234335: <http://trac.webkit.org/r234335>. Build fix for internal build landed in r234344: <http://trac.webkit.org/r234344>. |