-
Notifications
You must be signed in to change notification settings - Fork 1
/
java-exec-process.drawio
1356 lines (1356 loc) · 159 KB
/
java-exec-process.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<mxfile host="Electron" modified="2024-04-20T16:04:23.569Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.6.5 Chrome/114.0.5735.243 Electron/25.3.1 Safari/537.36" etag="FSrNxnfeSJiX_kbaC5q2" version="21.6.5" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1687" dy="1034" 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="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-0" value="<b>Java 从编译到执行再到退出全流程<br><font color="#3399ff">细节参考对应markdown文档</font><br></b>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="40" y="40" width="240" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-7" value="<font color="#3399ff">JVM的东西看了好几遍,看了忘,忘了看,内容都没串起来,这里画个流程图重新串一下<br><br>参考资料:<br>The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/html/index.html<br>《深入理解Java虚拟机》<br>https://blog.csdn.net/u011069294/category_10113093_2.html<br>其他一些网文教程<br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="40" width="490" height="120" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-9" value=".class" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-10" target="FGHxzeivRpTkZ_-9d8Zx-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-10" target="FGHxzeivRpTkZ_-9d8Zx-19" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-10" value="代码编译" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fontStyle=1" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="40" y="200" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-12" target="FGHxzeivRpTkZ_-9d8Zx-13" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-106" 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;fontSize=8;fontColor=#66B2FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-12" target="FGHxzeivRpTkZ_-9d8Zx-105" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-12" value="程序执行" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fontStyle=1" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="40" y="320" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-17" 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;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-13" target="FGHxzeivRpTkZ_-9d8Zx-16" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-13" value="程序退出" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fontStyle=1" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="40" y="1040" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-18" 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;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-15" target="FGHxzeivRpTkZ_-9d8Zx-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-15" value="代码写完" style="ellipse;whiteSpace=wrap;html=1;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="55" y="80" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-16" value="结束" style="ellipse;whiteSpace=wrap;html=1;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="55" y="1200" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-30" 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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-19" target="FGHxzeivRpTkZ_-9d8Zx-23" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-19" value=".java" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="200" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-23" value="前端编译 
javac" style="swimlane;horizontal=0;fontColor=#333333;startSize=23;fontSize=8;fillColor=#f5f5f5;strokeColor=#666666;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="190" width="430" height="60" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-28" value="字节流" 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;fontColor=#3399FF;fontSize=8;" parent="FGHxzeivRpTkZ_-9d8Zx-23" source="FGHxzeivRpTkZ_-9d8Zx-24" target="FGHxzeivRpTkZ_-9d8Zx-25" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="110" y="30" />
<mxPoint x="110" y="30" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-24" value="词法分析" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="FGHxzeivRpTkZ_-9d8Zx-23" vertex="1">
<mxGeometry x="30" y="10" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-29" value="语法树" 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;fontColor=#3399FF;fontSize=8;" parent="FGHxzeivRpTkZ_-9d8Zx-23" source="FGHxzeivRpTkZ_-9d8Zx-25" target="FGHxzeivRpTkZ_-9d8Zx-26" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-25" value="语法分析" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="FGHxzeivRpTkZ_-9d8Zx-23" vertex="1">
<mxGeometry x="140" y="10" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-26" value="语义分析" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="FGHxzeivRpTkZ_-9d8Zx-23" vertex="1">
<mxGeometry x="240" y="10" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-27" value="中间代码<br><font style="font-size: 8px">(字节码 .class)</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="FGHxzeivRpTkZ_-9d8Zx-23" vertex="1">
<mxGeometry x="340" y="10" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-31" value="语法树" 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;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-23" source="FGHxzeivRpTkZ_-9d8Zx-26" target="FGHxzeivRpTkZ_-9d8Zx-27" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-70" 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;fontSize=6;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-34" target="FGHxzeivRpTkZ_-9d8Zx-48" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-34" value="后端编译 JVM Execution Engine" style="swimlane;horizontal=0;startSize=23;fontSize=8;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="880" y="55" width="580" height="330" as="geometry">
<mxRectangle x="880" y="55" width="30" height="140" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-44" value="<font color="#3399ff">JVM Interpreter 解释执行</font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="160" y="10" width="170" height="20" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-45" value="<font color="#3399ff">JIT (Just-In-Time) compiler</font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="160" y="80" width="160" height="20" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-77" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-51" target="FGHxzeivRpTkZ_-9d8Zx-34" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="580" y="300" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-51" value="CodeCache<br><font color="#3399ff">本地缓存机器码</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="325" y="280" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-92" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#66B2FF;edgeStyle=orthogonalEdgeStyle;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-53" target="FGHxzeivRpTkZ_-9d8Zx-91" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="165" y="185" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-95" value="是热点代码" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-92" vertex="1" connectable="0">
<mxGeometry x="-0.3982" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-53" value="热点探测<br><font color="#3399ff" style="font-size: 8px">基于计数器的热点探测<br>方法计数器<br>回边计数器<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="120" y="110" width="90" height="60" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-85" value="N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-58" target="FGHxzeivRpTkZ_-9d8Zx-84" edge="1">
<mxGeometry x="-0.4286" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-97" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-58" target="FGHxzeivRpTkZ_-9d8Zx-51" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2Y9607jRNDiNzP6QfdsK-0" value="Y" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-97" vertex="1" connectable="0">
<mxGeometry x="-0.8286" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-58" value="<font color="#000000">是否已编译</font>" style="rhombus;whiteSpace=wrap;html=1;fontSize=8;fontColor=#3399FF;rounded=1;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="30" y="90" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-93" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-84" target="FGHxzeivRpTkZ_-9d8Zx-53" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="165" y="50" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-98" 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;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-84" target="FGHxzeivRpTkZ_-9d8Zx-87" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-84" value="符号表" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="90" y="30" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-88" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-87" target="FGHxzeivRpTkZ_-9d8Zx-34" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="580" y="50" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-87" value="解释执行<font color="#66b2ff">?</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="230" y="30" width="240" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" source="FGHxzeivRpTkZ_-9d8Zx-91" target="FGHxzeivRpTkZ_-9d8Zx-51" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-91" value="JIT编译" style="swimlane;horizontal=0;rounded=1;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-34" vertex="1">
<mxGeometry x="230" y="110" width="290" height="150" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-36" value="机器无关代码优化" style="rounded=1;whiteSpace=wrap;html=1;fontSize=8;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-91" vertex="1">
<mxGeometry x="71" y="10" width="10" height="80" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-38" value="机器相关代码优化" style="rounded=1;whiteSpace=wrap;html=1;fontSize=8;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-91" vertex="1">
<mxGeometry x="131" y="10" width="10" height="80" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-35" value="中间代码" 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;fontColor=#3399FF;fontSize=8;" parent="FGHxzeivRpTkZ_-9d8Zx-91" source="FGHxzeivRpTkZ_-9d8Zx-36" target="FGHxzeivRpTkZ_-9d8Zx-38" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="91" y="50" />
<mxPoint x="91" y="50" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-39" value="寄存器分配器" style="rounded=1;whiteSpace=wrap;html=1;fontSize=8;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-91" vertex="1">
<mxGeometry x="181" y="15" width="10" height="70" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-90" value="机器码" 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;fontSize=8;fontColor=#66B2FF;" parent="FGHxzeivRpTkZ_-9d8Zx-91" source="FGHxzeivRpTkZ_-9d8Zx-38" target="FGHxzeivRpTkZ_-9d8Zx-39" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-40" value="目标代码生成器" style="rounded=1;whiteSpace=wrap;html=1;fontSize=8;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-91" vertex="1">
<mxGeometry x="231" y="12.5" width="10" height="75" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-41" value="机器码" 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;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-91" source="FGHxzeivRpTkZ_-9d8Zx-39" target="FGHxzeivRpTkZ_-9d8Zx-40" edge="1">
<mxGeometry x="-0.1111" relative="1" as="geometry">
<Array as="points">
<mxPoint x="201" y="50" />
<mxPoint x="201" y="50" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-89" value="<font style="font-size: 8px">优化策略</font><br><font color="#3399ff" style="font-size: 8px">逃逸分析、 锁消除、 锁膨胀、 方法内联、 空值检查消除、 类型检测消除、 公共子表达式消除等</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="FGHxzeivRpTkZ_-9d8Zx-91" vertex="1">
<mxGeometry x="40" y="100" width="240" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-42" 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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-27" target="FGHxzeivRpTkZ_-9d8Zx-34" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-43" value="<font color="#3399ff"><b>执行阶段</b>,属于JVM执行引擎的功能,!具体细节没找到讲的很清楚的,可能有错待确认</font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="880" y="35" width="470" height="20" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-48" value="OS" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1520" y="200" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-56" value="<font color="#3399ff">HotSpot 虚拟机内置了两个JIT编译器<br>Client Compiler (C1 编译模式)<br></font><font color="#3399ff">Server Compiler (</font><span style="color: rgb(51 , 153 , 255)">C2 编译模式</span><font color="#3399ff">)<br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1460" y="260" width="200" height="60" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-113" 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;fontSize=8;fontColor=#66B2FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-105" target="FGHxzeivRpTkZ_-9d8Zx-112" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-121" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-105" target="FGHxzeivRpTkZ_-9d8Zx-120" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-105" value="<b>java指令<br>启动JVM进程</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="320" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-111" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#66B2FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-108" target="FGHxzeivRpTkZ_-9d8Zx-110" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-117" 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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-108" target="FGHxzeivRpTkZ_-9d8Zx-116" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-108" value="创建<b>引导类加载器</b>实例(C++实现)" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="385" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-140" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.001;entryY=0.036;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=10;fontColor=#3399FF;strokeColor=none;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-110" target="FGHxzeivRpTkZ_-9d8Zx-128" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-0" 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;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-110" target="FGHxzeivRpTkZ_-9d8Zx-128" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-110" value="用于加载核心类<br>(jre/lib下的rt.jar、resources.jar)<br><font color="#3399ff">类信息加载到方法区</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="590" y="380.5" width="170" height="47.5" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-114" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-112" target="FGHxzeivRpTkZ_-9d8Zx-108" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-112" value="JVM内存申请" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="320" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-119" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-116" target="FGHxzeivRpTkZ_-9d8Zx-118" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-116" value="创建启动器实例&nbsp;sun.misc.Launcher,并获取运行类的ClassLoader" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="385" y="450" width="150" height="50" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-123" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-118" target="FGHxzeivRpTkZ_-9d8Zx-122" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-118" value="使用ClassLoader加载主类,并通过常量池CONSTANT_CLASS_INFO获取依赖的类并递归加载" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="377.5" y="530" width="165" height="60" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-3" value="" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-120" target="-ruLyQqvGVcUohYrsJ2N-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-28" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-120" target="-ruLyQqvGVcUohYrsJ2N-21" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-120" value="<b>类的使用</b><br><font style="font-size: 10px">一切都从C++调用<br>主类的main()方法开始</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="920" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-1" 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;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-122" target="FGHxzeivRpTkZ_-9d8Zx-128" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-122" value="用于加载拓展类<br>或自定义类<br><span style="color: rgb(51 , 153 , 255)">类信息加载到方法区</span>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="610" y="540" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-45" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-128" target="-ruLyQqvGVcUohYrsJ2N-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<object label="类加载子系统——类加载流程" 万恶万恶="" id="FGHxzeivRpTkZ_-9d8Zx-128">
<mxCell style="swimlane;rounded=1;fontSize=10;startSize=23;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="880" y="401" width="720" height="479" as="geometry">
<mxRectangle x="880" y="401" width="160" height="23" as="alternateBounds" />
</mxGeometry>
</mxCell>
</object>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-138" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-129" target="FGHxzeivRpTkZ_-9d8Zx-130" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-10" 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;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-129" target="BpuLTuVieapOz50nyp-9-9" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="240" y="60" />
<mxPoint x="240" y="180" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-129" value="加载" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="10" y="40" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-133" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-130" target="FGHxzeivRpTkZ_-9d8Zx-132" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-139" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-130" target="FGHxzeivRpTkZ_-9d8Zx-131" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-130" value="链接" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="10" y="219" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-131" target="tda0aqHijR5EOjEagQia-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-131" value="初始化<br><font color="#3399ff" style="font-size: 8px">静态变量赋值,执行静态代码块</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="10" y="419" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-135" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-132" target="FGHxzeivRpTkZ_-9d8Zx-134" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-132" value="验证<br><font style="font-size: 8px" color="#3399ff">校验字节码正确性</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="140" y="219" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-137" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-134" target="FGHxzeivRpTkZ_-9d8Zx-136" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-134" value="准备<br><font color="#3399ff" style="font-size: 8px">给类的静态变量分配内存赋默认值</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="140" y="284" width="100" height="45" as="geometry" />
</mxCell>
<mxCell id="FGHxzeivRpTkZ_-9d8Zx-136" value="解析<br><font style="font-size: 8px" color="#3399ff">符号引用转直接引用<br>为静态变量分配内存并设置初始值<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="120" y="354" width="140" height="46" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-6" value="加载时机<br><font color="#3399ff">JVM自行实现</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="281" y="40" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-5" 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;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-129" target="BpuLTuVieapOz50nyp-9-6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="270" y="60.333333333333485" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-8" value="类的来源<br><font color="#3399ff" style="font-size: 8px">查源码比如getExtDirs()</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="281" y="100" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-7" 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;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="FGHxzeivRpTkZ_-9d8Zx-129" target="BpuLTuVieapOz50nyp-9-8" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="250" y="100" as="targetPoint" />
<Array as="points">
<mxPoint x="240" y="60" />
<mxPoint x="240" y="120" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="BpuLTuVieapOz50nyp-9-9" target="tda0aqHijR5EOjEagQia-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-9" value="加载流程" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="281" y="160" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-0" value="加载结果<br><font color="#3399ff">生成此类的Class对象</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="410" y="160" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-2" value="类初始化时机<br><font color="#3399ff">6种</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="150" y="419" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="tda0aqHijR5EOjEagQia-4" target="tda0aqHijR5EOjEagQia-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-11" 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;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="tda0aqHijR5EOjEagQia-4" target="tda0aqHijR5EOjEagQia-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-4" value="双亲委派机制加载" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="410" y="40" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="tda0aqHijR5EOjEagQia-5" target="tda0aqHijR5EOjEagQia-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-5" value="引导类加载器<br><font color="#3399ff">C++对象</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="560" y="40" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;fontColor=#3399FF;" parent="FGHxzeivRpTkZ_-9d8Zx-128" source="tda0aqHijR5EOjEagQia-7" target="tda0aqHijR5EOjEagQia-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-7" value="拓展类加载器" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="560" y="100" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-9" value="应用类加载器" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="560" y="160" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="tda0aqHijR5EOjEagQia-12" value="<font color="#3399ff">ExtClassLoader 和 AppClassLoader都是在Launcher中被实例化的, 为单例模式。</font><br><font color="#3399ff">类加载是按需加载。</font><br><div style="color: rgb(51 , 153 , 255)"><br></div><div style="color: rgb(51 , 153 , 255)">间接引用:指向常量池。</div><div style="color: rgb(51 , 153 , 255)">直接引用:指向内存地址。<br><br></div><div style="color: rgb(51 , 153 , 255)">这里的“初始化”指的是类的初始化,所以只包含类静态变量(类变量)的赋值和静态代码块的执行,外在表现就是执行&lt;clinit&gt;()方法。</div><div style="color: rgb(51 , 153 , 255)">对象的初始化属于类的使用阶段。</div><div style="color: rgb(51 , 153 , 255)"><br></div><div><font color="#ff0080">类的静态变量、常量的内存是怎么分配的?<br>基本类型的成员变量内存是怎么分配的?</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="281" y="219" width="399" height="221" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-71" value="<font color="#3399ff"><font style="font-size: 8px">链接阶段不一定在main()之前就执行了,可能直到new时才执行,参考《解密Java虚拟机》P10.4.6</font><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="FGHxzeivRpTkZ_-9d8Zx-128" vertex="1">
<mxGeometry x="10" y="259" width="110" height="61" as="geometry" />
</mxCell>
<mxCell id="SmwzxbGlBXOWkFM195Nu-0" value="<font color="#3399ff"><span style="font-size: 10px">JVM启动详细流程参考网文:https://jiges.github.io/2017/12/15/JVM%E5%90%AF%E5%8A%A8%E6%B5%81%E7%A8%8B-%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90/<br></span><span style="font-size: 10px">Java入口即:<b>sun.launcher.LauncherHelper$checkAndLoadMain(),</b>之前的代码都是C/C++</span><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="280" width="590" height="40" as="geometry" />
</mxCell>
<mxCell id="BpuLTuVieapOz50nyp-9-2" value="<font color="#3399ff">类加载初步完成(还有些用时才加载)<br>延迟加载&amp;慢分配策略<br></font>" 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;curved=1;dashed=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="FGHxzeivRpTkZ_-9d8Zx-131" target="FGHxzeivRpTkZ_-9d8Zx-120" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="520" y="920" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-173" 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;fontSize=8;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-2" target="pate8xdLjIF8RST5-Mpa-145" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="410" y="2180" />
<mxPoint x="410" y="2180" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-174" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;strokeColor=#000000;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-2" target="pate8xdLjIF8RST5-Mpa-151" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-2" value="<b>类的卸载与对象GC</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="2160" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-82" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-5" target="htxMy5ntLQ7jBSYtlKdf-33" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-88" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-5" target="htxMy5ntLQ7jBSYtlKdf-84" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-89" value="???" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=10;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-88" vertex="1" connectable="0">
<mxGeometry x="0.0839" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-5" value="运行时数据区" style="swimlane;fontSize=12;rounded=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1094" y="920" width="536" height="360" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-40" value="" style="swimlane;startSize=0;rounded=1;fontSize=8;fillColor=#fff2cc;strokeColor=#d6b656;" parent="-ruLyQqvGVcUohYrsJ2N-5" vertex="1">
<mxGeometry x="30" y="40" width="480" height="180" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-12" value="<font style="font-size: 12px">本地方法栈</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-40" vertex="1">
<mxGeometry x="276" y="30" width="184" height="80" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-11" value="<font><span style="font-size: 12px">程序计数器</span><br><font style="font-size: 8px" color="#3399ff">注意区分和cpu核心中的程序计数器(PC寄存器)的区别;<br></font><font color="#3399ff" style="font-size: 8px">jvm程序计数器是当前线程存储正在执行的字节码的地址的内存空间,<b>每个线程都有自己的程序计数器</b></font><br></font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-40" vertex="1">
<mxGeometry x="16" y="120" width="214" height="50" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-7" value="栈<br><font style="font-size: 8px" color="#3399ff">每个方法对应一块栈帧区域,方法调用时分配,退出时释放<br>-Xss<br></font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-40" vertex="1">
<mxGeometry x="16" y="30" width="214" height="80" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-41" value="各线程私有内存空间" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-40" vertex="1">
<mxGeometry x="6" width="90" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-68" value="引用" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;fontSize=10;fontColor=#3399FF;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="-ruLyQqvGVcUohYrsJ2N-5" source="htxMy5ntLQ7jBSYtlKdf-60" target="htxMy5ntLQ7jBSYtlKdf-72" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="260" y="285" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-60" value="" style="swimlane;startSize=0;rounded=1;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-5" vertex="1">
<mxGeometry x="306" y="240" width="194.5" height="100" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-61" value="<font color="#330000" style="font-size: 12px">方法区/元空间</font><font color="#330000" style="font-size: 9px">(也称非堆)</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=12;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-60" vertex="1">
<mxGeometry x="7.25" y="-5" width="150" height="30" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-8" value="<p style="line-height: 0.9"><font style="font-size: 10px">运行时常量池</font><br><font style="font-size: 8px" color="#3399ff">JDK7之前:常量+静态变量+类信息<br>JDK8:将常量和静态变量移到了堆<br></font></p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;spacingTop=-1;" parent="htxMy5ntLQ7jBSYtlKdf-60" vertex="1">
<mxGeometry x="19.5" y="35.25" width="145" height="29.5" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-63" value="<span style="font-size: 12px">虚方法表</span>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-60" vertex="1">
<mxGeometry x="19.5" y="70" width="145" height="19.5" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-3" value="-XX:MetaspaceSize&nbsp; -XX:MaxMetaspaceSize" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-60" vertex="1">
<mxGeometry x="7.25" y="15.25" width="180" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-69" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-5" source="-ruLyQqvGVcUohYrsJ2N-7" target="htxMy5ntLQ7jBSYtlKdf-72" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="259.99999999999955" y="262.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-70" value="引用" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=10;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-69" vertex="1" connectable="0">
<mxGeometry x="-0.0985" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-72" value="" style="swimlane;startSize=0;rounded=1;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-5" vertex="1">
<mxGeometry x="46" y="240" width="214" height="100" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-73" value="<font color="#330000">堆</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=12;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="20" y="0.5" width="30" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-74" value="Eden<br>(8/10)<br>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="20" y="30" width="50" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-76" value="s0<br>(1/10)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="71" y="30" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-78" value="s1<br>(1/10)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="101" y="30" width="30" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-79" value="老年代<br>(2/3)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="131" y="30" width="69" height="40" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-80" value="<font style="font-size: 8px">新生代(Eden+s0+s1) 1/3 |<br>-Xmn</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=10;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-72" vertex="1">
<mxGeometry x="31" y="70" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-39" value="<span style="font-size: 8px">这个引用指常量或<br>静态变量指向<br>堆中的类实例</span>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=10;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-5" vertex="1">
<mxGeometry x="245" y="290" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-31" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-2" target="-ruLyQqvGVcUohYrsJ2N-30" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-2" value="局部变量表
存储单元:变量槽" style="swimlane;fontSize=8;fontColor=#330000;fontStyle=0" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="830" y="1169" width="120" height="180" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-16" value="<table border="1" width="100%" cellpadding="4" style="width: 100% ; height: 100% ; border-collapse: collapse"><tbody><tr><th align="center">this</th></tr><tr><td align="center">a</td></tr><tr><td align="center">b</td></tr></tbody></table>" style="text;html=1;strokeColor=none;fillColor=none;overflow=fill;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-2" vertex="1">
<mxGeometry x="40" y="39" width="70" height="130" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-17" value="0" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-2" vertex="1">
<mxGeometry x="10" y="50" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-18" value="1" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-2" vertex="1">
<mxGeometry x="10" y="94" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-19" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-2" vertex="1">
<mxGeometry x="10" y="140" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-24" value="<font color="#3399ff"><span style="font-size: 10px">TODO: main线程何时创建的?</span><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="840" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-30" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-27" target="-ruLyQqvGVcUohYrsJ2N-11" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="967" y="983" />
<mxPoint x="967" y="1105" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-26" value="main线程" style="swimlane;fontSize=8;rounded=1;fillColor=#d5e8d4;strokeColor=#82b366;startSize=15;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="920" width="410" height="700" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-14" value="栈 (虚拟机栈,先入后出)先执行的方法在栈底" style="swimlane;rounded=1;fontSize=12;startSize=20;fontStyle=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="htxMy5ntLQ7jBSYtlKdf-26" vertex="1">
<mxGeometry x="20" y="110" width="370" height="505" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-20" value="其他方法栈帧 compute()" style="swimlane;rounded=1;fontSize=12;startSize=20;fontStyle=0;fontColor=#000000;" parent="-ruLyQqvGVcUohYrsJ2N-14" vertex="1">
<mxGeometry x="20" y="135" width="320" height="280" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-66" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" source="-ruLyQqvGVcUohYrsJ2N-30" target="-ruLyQqvGVcUohYrsJ2N-31" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-30" value="<font style="font-size: 10px"><font color="#000000">局部变量表</font><br>(Local Variables)</font><br><font style="font-size: 8px">存放局部变量</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="20" y="30" width="120" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-67" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" source="-ruLyQqvGVcUohYrsJ2N-31" target="-ruLyQqvGVcUohYrsJ2N-30" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-31" value="<font color="#000000">操作数栈<br></font><font style="font-size: 10px">(Operand Stack)</font><br><font style="font-size: 8px">栈结构</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="20" y="100" width="120" height="50" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-32" value="<font color="#000000">动态链接</font><br><font style="font-size: 10px">(Dynamic Linking)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="20" y="175" width="120" height="50" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-33" value="<font color="#000000">方法返回地址</font><br><font style="font-size: 10px">(Return Adress)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="20" y="235" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-36" value="<span>局部变量表是有索引的存储结构(由一组变量槽组成,可当做Table)</span><br><span>构造方法实例方法 0 -&gt; 指向this, 1 -&gt; 第一个出现的局部变量(方法入参也算)<br>静态方法中的没有this对象应用,0-&gt;第一个出现的局部变量<br></span>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="140" y="30" width="170" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-39" value="基本所有的计算操作都要经过操作数栈;<br><b>计算流程</b>:准备数据(将数据压入操作数栈)-&gt; 执行计算操作(操作数出栈并计算)-&gt;结果保存(计算结果存回操作数栈,如果计算结果有赋值给某变量会出栈存入局部变量表或者返回给方法出口)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="140" y="100" width="170" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-59" value="<font style="font-size: 6px">是一个指向常量池该栈帧所属方法的引用<br>持有此引用为了支持方法调用过程中的动态链接(将这些符号引用转换为调用方法的直接引用)<br>支持&nbsp;invokevirtual、invokeinterface、invokedynamic&nbsp;&nbsp;<br>为了在动态分派的时候能够去方法元数据区搜索合适的目标方法</font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="140" y="175" width="170" height="50" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-64" value="<span style="font-size: 6px">调用者调用当前方法时执行到的代码位置</span>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-20" vertex="1">
<mxGeometry x="140" y="235" width="170" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-4" value="方法调用" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;fontSize=9;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-14" source="-ruLyQqvGVcUohYrsJ2N-21" target="-ruLyQqvGVcUohYrsJ2N-20" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-21" value="main() 栈帧" style="swimlane;rounded=1;fontSize=12;startSize=20;fontStyle=0" parent="-ruLyQqvGVcUohYrsJ2N-14" vertex="1">
<mxGeometry x="20" y="435" width="320" height="60" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-29" value="App app = new App();<br>......" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-21" vertex="1">
<mxGeometry x="80" y="30" width="120" height="30" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-22" value="其他方法栈帧 sum()" style="swimlane;rounded=1;fontSize=12;startSize=20;fontStyle=0;fontColor=#000000;" parent="-ruLyQqvGVcUohYrsJ2N-14" vertex="1">
<mxGeometry x="20" y="55" width="320" height="60" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-26" value="......" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-22" vertex="1">
<mxGeometry x="123" y="25" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="-ruLyQqvGVcUohYrsJ2N-37" value="这部分画图说不请,参考《2.1-JVM方法在栈帧执行流程.md》" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="-ruLyQqvGVcUohYrsJ2N-14" vertex="1">
<mxGeometry x="21" y="23" width="307" height="30" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-62" value="<font color="#3399ff">返回</font>" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=12;fontColor=#330000;" parent="-ruLyQqvGVcUohYrsJ2N-14" source="-ruLyQqvGVcUohYrsJ2N-33" target="-ruLyQqvGVcUohYrsJ2N-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="10" y="390" />
<mxPoint x="10" y="465" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-27" value="<font><font color="#3399ff" style="font-size: 8px">main线程的</font><b><font style="font-size: 12px">程序计数器</font><br></b><font color="#3399ff" style="font-size: 8px">PC寄存器用来存储下一条要执行的指令的地址。执行引擎根据程序计数器里面的地址,执行指令,执行完成之后,再根据</font><span style="color: rgb(51 , 153 , 255) ; font-size: 8px">程序计数器</span><font color="#3399ff" style="font-size: 8px">里面存储的地址,执行下一条指令。<br></font><font style="font-size: 8px" color="#3399ff">为了记录当前执行位置定位下一条指令;同时切换线程返回时也能继续执行</font><br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;align=center;fillColor=#d5e8d4;strokeColor=#82b366;" parent="htxMy5ntLQ7jBSYtlKdf-26" vertex="1">
<mxGeometry x="20" y="35" width="370" height="55" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-71" value="<font><b><span style="font-size: 12px">本地方法栈</span><br></b><font color="#3399ff"><span style="font-size: 8px">如果线程有调用本地方法(native)的话,Hotspot 本地方法栈和虚拟机栈是合并在一起的;</span></font><br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;align=center;fillColor=#d5e8d4;strokeColor=#82b366;" parent="htxMy5ntLQ7jBSYtlKdf-26" vertex="1">
<mxGeometry x="20" y="632" width="370" height="55" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-32" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-14" target="-ruLyQqvGVcUohYrsJ2N-7" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="790" y="1020" />
<mxPoint x="965" y="1020" />
<mxPoint x="965" y="1030" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-83" value="执行/返回" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-33" target="-ruLyQqvGVcUohYrsJ2N-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-86" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-33" target="htxMy5ntLQ7jBSYtlKdf-84" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-33" value="执行引擎" style="swimlane;fontSize=12;rounded=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1720" y="920" width="520" height="360" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-50" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="2546" y="990" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-57" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=0;exitDy=0;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-51" target="-ruLyQqvGVcUohYrsJ2N-31" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="830" y="1330" />
<mxPoint x="520" y="1330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-51" value="操作数栈 (FILO)" style="swimlane;fontSize=8;fontColor=#330000;fontStyle=0" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="830" y="1360" width="120" height="180" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-52" value="<table border="1" width="100%" cellpadding="4" style="width: 100% ; height: 100% ; border-collapse: collapse"><tbody><tr><th align="center">b</th></tr><tr><td align="center">a</td></tr><tr><td align="center">this</td></tr></tbody></table>" style="text;html=1;strokeColor=none;fillColor=none;overflow=fill;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-51" vertex="1">
<mxGeometry x="25" y="40" width="70" height="130" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-56" value="32位数据占一个栈深度,64位数据占两个" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="htxMy5ntLQ7jBSYtlKdf-51" vertex="1">
<mxGeometry y="26" width="120" height="14" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-58" value="比如&nbsp;return sum(a, b) * 100;<br><br><div>4: aload_0</div><div>5: iload_1</div><div>6: iload_2</div><div>7: invokevirtual #2</div><div>10: bipush&nbsp; &nbsp; &nbsp; &nbsp; 100</div><div>12: imul</div><div>13: ireturn</div><br>分析下这些字节指令的含义就明白代码执行流程了&nbsp;&nbsp;<span style="color: rgba(0 , 0 , 0 , 0) ; font-family: monospace ; font-size: 0px">%3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%22%E5%9F%BA%E6%9C%AC%E6%89%80%E6%9C%89%E7%9A%84%E8%AE%A1%E7%AE%97%E6%93%8D%E4%BD%9C%E9%83%BD%E8%A6%81%E7%BB%8F%E8%BF%87%E6%93%8D%E4%BD%9C%E6%95%B0%E6%A0%88%EF%BC%9B%26lt%3Bbr%26gt%3B%26lt%3Bb%26gt%3B%E8%AE%A1%E7%AE%97%E6%B5%81%E7%A8%8B%26lt%3B%2Fb%26gt%3B%EF%BC%9A%E5%87%86%E5%A4%87%E6%95%B0%E6%8D%AE(%E5%B0%86%E6%95%B0%E6%8D%AE%E5%8E%8B%E5%85%A5%E6%93%8D%E4%BD%9C%E6%95%B0%E6%A0%88)-%26amp%3Bgt%3B%20%E6%89%A7%E8%A1%8C%E8%AE%A1%E7%AE%97%E6%93%8D%E4%BD%9C(%E6%93%8D%E4%BD%9C%E6%95%B0%E5%87%BA%E6%A0%88%E5%B9%B6%E8%AE%A1%E7%AE%97)-%26amp%3Bgt%3B%E7%BB%93%E6%9E%9C%E4%BF%9D%E5%AD%98(%E8%AE%A1%E7%AE%97%E7%BB%93%E6%9E%9C%E5%AD%98%E5%9B%9E%E6%93%8D%E4%BD%9C%E6%95%B0%E6%A0%88%EF%BC%8C%E5%A6%82%E6%9E%9C%E8%AE%A1%E7%AE%97%E7%BB%93%E6%9E%9C%E6%9C%89%E8%B5%8B%E5%80%BC%E7%BB%99%E6%9F%90%E5%8F%98%E9%87%8F%E4%BC%9A%E5%87%BA%E6%A0%88%E5%AD%98%E5%85%A5%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F%E8%A1%A8%E6%88%96%E8%80%85%E8%BF%94%E5%9B%9E%E7%BB%99%E6%96%B9%E6%B3%95%E5%87%BA%E5%8F%A3)%22%20style%3D%22text%3Bhtml%3D1%3BstrokeColor%3Dnone%3BfillColor%3Dnone%3Balign%3Dleft%3BverticalAlign%3Dmiddle%3BwhiteSpace%3Dwrap%3Brounded%3D0%3BfontSize%3D8%3BfontColor%3D%233399FF%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22580%22%20y%3D%221265%22%20width%3D%22170%22%20height%3D%2250%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3E</span>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="950" y="1360" width="110" height="180" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-81" value="查找直接引用" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=0;exitDy=0;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-59" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="580" y="1300" />
<mxPoint x="1490" y="1300" />
<mxPoint x="1490" y="1260" />
</Array>
<mxPoint x="1490" y="1260" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-87" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-84" target="htxMy5ntLQ7jBSYtlKdf-85" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-84" value="本地库接口 (native interface)" style="swimlane;fontSize=12;rounded=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1720" y="1320" width="240" height="140" as="geometry" />
</mxCell>
<mxCell id="htxMy5ntLQ7jBSYtlKdf-85" value="本地方法库" style="swimlane;fontSize=12;rounded=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="2000" y="1320" width="240" height="140" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-0" value="本地内存(物理内存)<br><font style="font-size: 8px" color="#3399ff">没有JVM规定的固定大小限制,最大可使用空间大小默认unlimited,可使用所有剩余物理内存</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1422" y="1299.5" width="140" height="49.5" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-1" value="<font style="font-size: 8px" color="#3399ff">使用</font>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="htxMy5ntLQ7jBSYtlKdf-60" target="2bGhEhU24zmMQ1zcT7It-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-2" value="-Xms -Xmx" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1180" y="1160" width="60" height="20" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-7" value="对象创建与堆内存分配 (new指令)" style="swimlane;fontSize=12;rounded=1;fontStyle=0;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="1640" width="360" height="340" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-27" 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;fontSize=10;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-6" target="2bGhEhU24zmMQ1zcT7It-16" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-6" value="<font color="#000000" style="font-size: 10px;">分配内存</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="240" y="100" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-13" value="N" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=9;fontColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-10" target="2bGhEhU24zmMQ1zcT7It-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-142" value="Y" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-10" target="2bGhEhU24zmMQ1zcT7It-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="155" y="90" />
<mxPoint x="280" y="90" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-10" value="类是否已加载" style="rhombus;whiteSpace=wrap;html=1;fontSize=10;fontColor=#000000;strokeColor=#000000;rounded=0;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="115" y="40" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-20" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-12" target="2bGhEhU24zmMQ1zcT7It-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-12" value="<font color="#000000" style="font-size: 10px;">类加载</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="240" y="40" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=10;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-16" target="2bGhEhU24zmMQ1zcT7It-25" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-16" value="<font style="font-size: 10px"><font color="#000000" style="font-size: 10px">对象初始化</font><br></font><font style="font-size: 8px">注意区分类的初始化</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fontColor=#3399FF;strokeColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="240" y="160" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-29" 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;fontSize=10;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" source="2bGhEhU24zmMQ1zcT7It-25" target="2bGhEhU24zmMQ1zcT7It-26" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-25" value="<font color="#000000" style="font-size: 10px">设置对象头</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="240" y="220" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-26" value="<font color="#000000" style="font-size: 10px">执行&lt;init&gt;方法</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="240" y="280" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-30" value="<span style="font-size: 8px">两种分配方式:<br style="font-size: 8px">指针碰撞(Bump the pointer)<br>空闲列表(Free List)<br>并发问题解决:CAS &amp; TLAB<br style="font-size: 8px"></span>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="70" y="100" width="170" height="40" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-31" value="类似类加载的准备阶段,为分配到的内存空间都初始化为零值(不包括对象头)<br>如果对象在TLAB中分配,在分配的时候完成<br>对象的初始化工作" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="70" y="160" width="170" height="40" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-47" value="设置<span>这个对象是哪个类的实例、 如何才能找到</span><div>类的元数据信息、 对象的哈希码<span>、 对象的GC分代年龄等信息。</span></div>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="70" y="225" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-144" value="执行类的构造方法" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-7" vertex="1">
<mxGeometry x="70" y="285" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-8" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;fontSize=9;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-ruLyQqvGVcUohYrsJ2N-29" target="2bGhEhU24zmMQ1zcT7It-7" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="400" y="1503" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="2bGhEhU24zmMQ1zcT7It-9" value="new" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;fontColor=#3399FF;" parent="2bGhEhU24zmMQ1zcT7It-8" vertex="1" connectable="0">
<mxGeometry x="0.2603" y="26" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-15" value="" style="swimlane;startSize=0;rounded=1;fontSize=8;fontColor=#3399FF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="920" y="1920" width="200" height="100" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-16" value="<font color="#330000">方法区</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=12;fontColor=#3399FF;" parent="LAXcqke9BORZISgEtjvU-15" vertex="1">
<mxGeometry x="10" y="0.5" width="50" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-17" value="App.class<br><font style="font-size: 8px">类元数据<b> Klass</b></font>" style="ellipse;whiteSpace=wrap;html=1;" parent="LAXcqke9BORZISgEtjvU-15" vertex="1">
<mxGeometry x="10" y="20.5" width="60" height="39.5" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-137" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;fontSize=6;fontColor=#3399FF;strokeColor=#000000;shape=flexArrow;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="LAXcqke9BORZISgEtjvU-23" target="pate8xdLjIF8RST5-Mpa-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-23" value="堆" style="swimlane;startSize=20;fontStyle=0;rounded=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="920" y="1640" width="200" height="260" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-24" value="app对象 OOP" style="swimlane;startSize=20;fontStyle=0;fillColor=#f8cecc;strokeColor=#b85450;" parent="LAXcqke9BORZISgEtjvU-23" vertex="1">
<mxGeometry x="9" y="80" width="111" height="170" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-33" value="实例数据" style="whiteSpace=wrap;html=1;rounded=1;fontSize=8;" parent="LAXcqke9BORZISgEtjvU-24" vertex="1">
<mxGeometry x="10.5" y="117" width="89.5" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-34" value="对齐填充 (8字节对齐)" style="whiteSpace=wrap;html=1;rounded=1;fontSize=8;" parent="LAXcqke9BORZISgEtjvU-24" vertex="1">
<mxGeometry x="10.5" y="140" width="89.5" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-40" value="" style="swimlane;startSize=0;rounded=1;fontSize=8;" parent="LAXcqke9BORZISgEtjvU-24" vertex="1">
<mxGeometry x="10.5" y="22" width="90" height="90" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-41" value="<font style="font-size: 8px">markword&nbsp; 8B</font>" style="whiteSpace=wrap;html=1;rounded=1;" parent="LAXcqke9BORZISgEtjvU-40" vertex="1">
<mxGeometry x="10" y="20" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-42" value="类型指针 4B/8B" style="whiteSpace=wrap;html=1;rounded=1;fontSize=8;" parent="LAXcqke9BORZISgEtjvU-40" vertex="1">
<mxGeometry x="10" y="40" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-43" value="<font style="font-size: 8px">数组长度 4B</font>" style="whiteSpace=wrap;html=1;rounded=1;" parent="LAXcqke9BORZISgEtjvU-40" vertex="1">
<mxGeometry x="10" y="60" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-44" value="<font style="font-size: 6px">对象头 Object Header</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=8;" parent="LAXcqke9BORZISgEtjvU-40" vertex="1">
<mxGeometry x="10" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-28" value="appClass<br>对象" style="ellipse;whiteSpace=wrap;html=1;" parent="LAXcqke9BORZISgEtjvU-23" vertex="1">
<mxGeometry x="19.5" y="30" width="60" height="39.5" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-45" value="KClass Pointer" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="LAXcqke9BORZISgEtjvU-23" vertex="1">
<mxGeometry x="120" y="142" width="80" height="18" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-35" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="2bGhEhU24zmMQ1zcT7It-12" target="LAXcqke9BORZISgEtjvU-28" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-38" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;fontSize=8;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="LAXcqke9BORZISgEtjvU-42" target="LAXcqke9BORZISgEtjvU-17" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="815" y="1770" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-53" value="N" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;fontSize=8;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="LAXcqke9BORZISgEtjvU-48" target="LAXcqke9BORZISgEtjvU-24" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="899" y="1760" />
<mxPoint x="899" y="1720" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-54" value="Y" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="LAXcqke9BORZISgEtjvU-48" target="LAXcqke9BORZISgEtjvU-51" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-48" value="<font style="font-size: 8px">栈内分配?</font>" style="rhombus;whiteSpace=wrap;html=1;rounded=0;fontSize=6;fillColor=#f8cecc;strokeColor=#b85450;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="800" y="1740" width="70" height="40" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-49" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=8;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="2bGhEhU24zmMQ1zcT7It-6" target="LAXcqke9BORZISgEtjvU-48" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LAXcqke9BORZISgEtjvU-51" value="<font color="#000000" style="font-size: 10px">栈上分配空间<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="795" y="1820" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="iHsSws_8bOK0eX_Gw8El-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;curved=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="LAXcqke9BORZISgEtjvU-28" target="LAXcqke9BORZISgEtjvU-17" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="900" y="1703" />
<mxPoint x="900" y="1960" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-0" value="对象内存分配流程 (深入理解Java虚拟机P3.8)" style="swimlane;startSize=20;fontStyle=0;rounded=1;arcSize=0;sketch=0;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1200" y="1640" width="760" height="460" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-108" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-37" target="pate8xdLjIF8RST5-Mpa-101" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-37" value="<font color="#000000" style="font-size: 10px">堆<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#82b366;fillColor=#d5e8d4;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="280" y="130" width="120" height="200" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-1" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-2" target="pate8xdLjIF8RST5-Mpa-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-2" value="分配内存" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="11" y="53.0600000000001" width="60" height="39.5" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-77" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-5" target="pate8xdLjIF8RST5-Mpa-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-78" value="N" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=8;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-77" vertex="1" connectable="0">
<mxGeometry x="-0.2721" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-5" value="<font style="font-size: 10px">栈内分配?<br><font color="#3399ff">逃逸分析</font><br></font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="90" y="47.620000000000054" width="71" height="50.38" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-67" 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;fontSize=10;fontColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-9" target="pate8xdLjIF8RST5-Mpa-66" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-73" value="Y" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=8;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-67" vertex="1" connectable="0">
<mxGeometry x="-0.7367" y="-9" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-79" value="N" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-9" target="pate8xdLjIF8RST5-Mpa-13" edge="1">
<mxGeometry x="-0.2124" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-9" value="<font><span style="font-size: 10px">大对象?</span><br><font color="#3399ff" style="font-size: 8px">PretenureSizeThreshold</font><br></font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="90" y="130" width="71" height="50.38" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-76" value="N" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=8;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-13" target="pate8xdLjIF8RST5-Mpa-75" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-13" value="<font style="font-size: 10px">TLAB空间<br>足够?</font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="90" y="204.81" width="71" height="50.38" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-31" value="End" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="690" y="192.90000000000023" width="60" height="39.5" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-32" value="因为不会被外部访问的临时变量内存和局部变量表内存还是挺类似的,放栈上随着栈帧一起回收不正好可以降低GC压力。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="160" y="80" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-39" value="<font color="#000000" style="font-size: 10px">栈<br><br><br><br><br></font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#82b366;fillColor=#d5e8d4;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="280" y="29.81" width="120" height="80.19" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-40" value="<font color="#000000" style="font-size: 10px">栈帧<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="300" y="55.05999999999999" width="80" height="34.68" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-41" 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;fontSize=10;fontColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-5" target="pate8xdLjIF8RST5-Mpa-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-14" value="栈帧出栈,释放" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=8;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-40" target="pate8xdLjIF8RST5-Mpa-31" edge="1">
<mxGeometry x="-0.0428" relative="1" as="geometry">
<mxPoint x="360" y="74.80999999999995" as="sourcePoint" />
<mxPoint x="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-103" 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;fontSize=10;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-42" target="pate8xdLjIF8RST5-Mpa-100" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="175" />
<mxPoint x="420" y="105" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-42" value="<font color="#000000" style="font-size: 10px">Eden<br><br><br><br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="300" y="150" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-110" 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;fontSize=10;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-43" target="pate8xdLjIF8RST5-Mpa-100" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="430" y="212" />
<mxPoint x="430" y="105" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-43" value="<font color="#000000" style="font-size: 10px">from<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="300" y="200" width="80" height="25" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-65" value="<font color="#000000" style="font-size: 10px">to<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="300" y="225" width="80" height="25" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-66" value="<font color="#000000" style="font-size: 10px">OLd<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="300" y="250" width="80" height="60" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-68" value="<font color="#000000"><font style="font-size: 8px">TLAB</font><br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="305" y="170" width="30" height="20.06" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-70" value="<font color="#000000"><font style="font-size: 8px">TLAB</font><br></font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;strokeColor=#b85450;fillColor=#f8cecc;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="335" y="170" width="30" height="20.06" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-72" value="Y, TLAB" 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;fontSize=8;fontColor=#3399FF;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-13" target="pate8xdLjIF8RST5-Mpa-68" edge="1">
<mxGeometry x="-0.701" relative="1" as="geometry">
<Array as="points">
<mxPoint x="220" y="230" />
<mxPoint x="220" y="180" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-87" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-75" target="pate8xdLjIF8RST5-Mpa-42" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-88" value="<font style="font-size: 8px">Y, CAS<br></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=5;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-87" vertex="1" connectable="0">
<mxGeometry x="-0.7923" y="5" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-94" value="N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-75" target="pate8xdLjIF8RST5-Mpa-93" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-75" value="<font style="font-size: 10px">Eden空间<br>足够?</font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="89" y="279.6199999999999" width="71" height="50.38" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-83" value="<font style="font-size: 6px">大于等于最大年龄的直接进入老年代</font>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=8;fontColor=#3399FF;strokeColor=#000000;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-80" target="pate8xdLjIF8RST5-Mpa-66" edge="1">
<mxGeometry x="-0.0551" y="10" relative="1" as="geometry">
<mxPoint x="610" y="200" as="sourcePoint" />
<Array as="points">
<mxPoint x="590" y="200" />
<mxPoint x="590" y="280" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-85" value="<font style="font-size: 5px">大于等于最大年龄的对象</font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=6;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-83" vertex="1" connectable="0">
<mxGeometry x="-0.5285" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-80" value="<br><b>动态年龄判断</b><br style="font-size: 8px"><font color="#3399ff" style="font-size: 6px">GC后存活对象占用from内存&gt;50%</font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=8;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="489.5" y="184.12" width="87" height="32.69" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-95" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-93" target="pate8xdLjIF8RST5-Mpa-42" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="250" y="365" />
<mxPoint x="250" y="188" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-96" value="Y" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=10;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-95" vertex="1" connectable="0">
<mxGeometry x="-0.6246" y="12" relative="1" as="geometry">
<mxPoint x="12" y="3" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-115" value="N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=10;fontColor=#3399FF;strokeColor=#000000;curved=1;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-93" target="pate8xdLjIF8RST5-Mpa-114" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="197" y="400" />
<mxPoint x="320" y="400" />
<mxPoint x="320" y="345" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-93" value="<font style="font-size: 10px;">Minor GC 后Eden是否足够?<br style="font-size: 10px;"></font>" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=10;" parent="pate8xdLjIF8RST5-Mpa-0" vertex="1">
<mxGeometry x="161" y="340" width="71" height="50.38" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-102" value="Y" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=10;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-100" target="pate8xdLjIF8RST5-Mpa-31" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-130" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=6;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-100" target="pate8xdLjIF8RST5-Mpa-121" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="533" y="130" />
<mxPoint x="444" y="130" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-131" value="N, eden区存活对象" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=6;fontColor=#3399FF;" parent="pate8xdLjIF8RST5-Mpa-130" vertex="1" connectable="0">
<mxGeometry x="0.1063" relative="1" as="geometry">
<mxPoint x="22" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pate8xdLjIF8RST5-Mpa-133" value="<span style="color: rgb(51, 153, 255); font-family: helvetica; font-size: 6px; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline; float: none;">N, eden区存活对象</span>" style="edgeStyle=orthogonalEdgeStyle;curved=1;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;fontSize=6;fontColor=#3399FF;strokeColor=#000000;" parent="pate8xdLjIF8RST5-Mpa-0" source="pate8xdLjIF8RST5-Mpa-100" target="pate8xdLjIF8RST5-Mpa-132" edge="1">