-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path循环引用.drawio
162 lines (162 loc) · 13.1 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<mxfile host="app.diagrams.net" modified="2022-08-22T02:33:49.652Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36" etag="ESTN6dnGPyZJ1IbSyrYO" version="20.2.3" type="github">
<diagram id="sgpdva6EOUjvvZmH0m_7" name="第 1 页">
<mxGraphModel dx="988" dy="807" 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="2wEUu0mrk-EplMBxijP8-1" value="<font style="font-size: 18px;">child(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="160" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-2" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="220" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-3" value="<font style="font-size: 18px;">parent(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="280" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-4" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="340" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-5" value="<font style="font-size: 18px;">栈区</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="150" y="115" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-6" value="" style="ellipse;whiteSpace=wrap;html=1;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="414" y="115" width="426" height="365" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-7" value="<font style="font-size: 18px;">_pParent(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="537" y="180" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-8" value="堆区" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="580" y="70" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-9" value="<font style="font-size: 18px;">_pChild(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="537" y="310" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-10" value="child对象" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="570" y="140" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-11" value="parent对象" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="572" y="270" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-12" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;" edge="1" parent="1" target="2wEUu0mrk-EplMBxijP8-7">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="190" as="sourcePoint" />
<mxPoint x="320" y="140" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-13" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="320" as="sourcePoint" />
<mxPoint x="537" y="334.9579831932773" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-14" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;entryX=0.128;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="2wEUu0mrk-EplMBxijP8-9">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="560" y="240" as="sourcePoint" />
<mxPoint x="610" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-16" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;entryX=0.8;entryY=1.05;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="2wEUu0mrk-EplMBxijP8-7">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="682" y="310" as="sourcePoint" />
<mxPoint x="732" y="260" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-17" value="child指向child对象<br>_pChild指向child对象" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="270" y="460" width="190" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-18" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="360" y="150" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-19" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="345" y="290" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-20" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="520" y="260" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-21" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="687" y="260" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-22" value="<font style="font-size: 18px;">child(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="745" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-23" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="805" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-24" value="<font style="font-size: 18px;">parent(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="865" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-25" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="100" y="925" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-26" value="<font style="font-size: 18px;">栈区</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="160" y="700" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-27" value="" style="ellipse;whiteSpace=wrap;html=1;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="424" y="700" width="426" height="365" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-28" value="<font style="font-size: 18px;">_pParent(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="547" y="765" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-29" value="<font style="font-size: 18px;">_pChild(sp)</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="547" y="895" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-30" value="child对象" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="580" y="725" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-31" value="parent对象" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="582" y="855" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-32" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="280" y="775" as="sourcePoint" />
<mxPoint x="460" y="690" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-41" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=18;" vertex="1" connectable="0" parent="2wEUu0mrk-EplMBxijP8-32">
<mxGeometry x="-0.0492" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-33" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="280" y="955" as="sourcePoint" />
<mxPoint x="450" y="1080" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-42" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=18;" vertex="1" connectable="0" parent="2wEUu0mrk-EplMBxijP8-33">
<mxGeometry x="-0.0988" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-34" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;entryX=0.128;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="2wEUu0mrk-EplMBxijP8-29">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="570" y="825" as="sourcePoint" />
<mxPoint x="620" y="775" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-43" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=18;" vertex="1" connectable="0" parent="2wEUu0mrk-EplMBxijP8-34">
<mxGeometry x="-0.0714" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-35" value="" style="endArrow=classic;html=1;rounded=0;fontSize=18;entryX=0.8;entryY=1.05;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="2wEUu0mrk-EplMBxijP8-28">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="692" y="895" as="sourcePoint" />
<mxPoint x="742" y="845" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-44" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=18;" vertex="1" connectable="0" parent="2wEUu0mrk-EplMBxijP8-35">
<mxGeometry x="0.2082" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-45" value="内存释放失败" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="330" y="1100" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="2wEUu0mrk-EplMBxijP8-46" value="堆区" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="590" y="650" width="60" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>