-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path草稿图.drawio
116 lines (116 loc) · 9.34 KB
/
草稿图.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" version="26.0.2">
<diagram name="第 1 页" id="r-rNKYdTGbdnn9lgRy3b">
<mxGraphModel dx="1434" dy="761" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="sG7W7haIXL1fbGflKKUQ-9" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="40" y="220" width="560" height="60" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="40" y="80" width="990" height="100" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
<mxGeometry x="40" y="330" width="990" height="70" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-1" target="sG7W7haIXL1fbGflKKUQ-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-1" value="应用启动" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="110" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-2" value="注册Signal_Handler" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="345" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-5" value="Linux" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="40" y="330" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-7" value="App" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="40" y="80" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-8" value="发生ANR" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
<mxGeometry x="270" y="110" width="70" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-10" value="system_server" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="40" y="220" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-11" value="处理ANR爆雷流程" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="260" y="230" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.68;exitY=0.05;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-12" target="sG7W7haIXL1fbGflKKUQ-14">
<mxGeometry relative="1" as="geometry">
<mxPoint x="440" y="340" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-12" value="执行dump, 发送SIG_QUIT信号" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="345" width="250" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.2;entryY=0.025;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-11" target="sG7W7haIXL1fbGflKKUQ-12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="340" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-14" target="sG7W7haIXL1fbGflKKUQ-16">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-14" value="接收SIG_QUIT信号.<div>(<b>同时,立刻向当前进程的Signal_Catcher发送SIG_QUIT</b>)</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="380" y="90" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-16" target="sG7W7haIXL1fbGflKKUQ-18">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-21" value="无" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="sG7W7haIXL1fbGflKKUQ-19">
<mxGeometry x="-0.2" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-16" target="sG7W7haIXL1fbGflKKUQ-20">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="610" y="170" />
<mxPoint x="610" y="258" />
<mxPoint x="780" y="258" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-24" value="有" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="sG7W7haIXL1fbGflKKUQ-23">
<mxGeometry x="-0.7859" y="-4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-16" value="ProcessStateInfo有NOT_RESPONDING?" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="530" y="110" width="140" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-18" target="sG7W7haIXL1fbGflKKUQ-20">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-25" value="是" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="sG7W7haIXL1fbGflKKUQ-22">
<mxGeometry x="-0.5543" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-18" value="20s内间隔500ms轮询<div>判断主线程是否阻塞</div>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="700" y="110" width="160" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-20" target="sG7W7haIXL1fbGflKKUQ-26">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="850" y="365" />
<mxPoint x="850" y="270" />
<mxPoint x="940" y="270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-20" value="PLT Hook写过程" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
<mxGeometry x="720" y="345" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-26" value="本地也记录一份anr" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="880" y="110" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="sG7W7haIXL1fbGflKKUQ-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.375;entryY=0.025;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="sG7W7haIXL1fbGflKKUQ-8" target="sG7W7haIXL1fbGflKKUQ-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>