This commit is contained in:
Ivan I. Ovchinnikov 2022-12-30 12:21:24 +03:00
parent 3199161d12
commit 13a1ca9bb8
1 changed files with 290 additions and 0 deletions

290
pics/jc-03-memory.svg Normal file
View File

@ -0,0 +1,290 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="210mm"
height="297mm"
viewBox="0 0 210 297"
version="1.1"
id="svg5"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
sodipodi:docname="jc-03-memory.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="true"
inkscape:zoom="1.1893044"
inkscape:cx="472.54513"
inkscape:cy="422.51588"
inkscape:window-width="1920"
inkscape:window-height="1057"
inkscape:window-x="2552"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="layer1">
<inkscape:grid
type="xygrid"
id="grid132" />
</sodipodi:namedview>
<defs
id="defs2" />
<g
inkscape:label="Слой 1"
inkscape:groupmode="layer"
id="layer1">
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="63.526459"
y="121.73479"
id="text318"><tspan
sodipodi:role="line"
id="tspan316"
style="stroke-width:0.264583"
x="63.526459"
y="121.73479">Java Memory Model</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="47.651459"
y="129.67229"
id="text322"><tspan
sodipodi:role="line"
id="tspan320"
style="stroke-width:0.264583"
x="47.651459"
y="129.67229">Heap</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="81.839859"
y="129.61302"
id="text326"><tspan
sodipodi:role="line"
id="tspan324"
style="stroke-width:0.264583"
x="81.839859"
y="129.61302">Stack</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="113.79729"
y="129.67229"
id="text330"><tspan
sodipodi:role="line"
id="tspan328"
style="stroke-width:0.264583"
x="113.79729"
y="129.67229">Non-heap</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="29.130625"
y="137.60979"
id="text442"><tspan
sodipodi:role="line"
id="tspan440"
style="stroke-width:0.264583"
x="29.130625"
y="137.60979">Old Generation</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="71.463959"
y="137.60979"
id="text446"><tspan
sodipodi:role="line"
id="tspan444"
style="stroke-width:0.264583"
x="71.463959"
y="137.60979">New Generation</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="59.557709"
y="145.54729"
id="text450"><tspan
sodipodi:role="line"
id="tspan448"
style="stroke-width:0.264583"
x="59.557709"
y="145.54729">Eden</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="76.755623"
y="145.54729"
id="text454"><tspan
sodipodi:role="line"
id="tspan452"
style="stroke-width:0.264583"
x="76.755623"
y="145.54729">Survivor1</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="103.21395"
y="145.54729"
id="text458"><tspan
sodipodi:role="line"
id="tspan456"
style="stroke-width:0.264583"
x="103.21395"
y="145.54729">Survivor2</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="134.96396"
y="137.60979"
id="text462"><tspan
sodipodi:role="line"
id="tspan460"
style="stroke-width:0.264583"
x="134.96396"
y="137.60979">Permanent Generation</tspan><tspan
sodipodi:role="line"
style="stroke-width:0.264583"
x="134.96396"
y="143.78342"
id="tspan464">(Metaspace)</tspan></text>
<text
xml:space="preserve"
style="font-size:4.9389px;line-height:1.25;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';stroke-width:0.264583"
x="145.54729"
y="127.02646"
id="text468"><tspan
sodipodi:role="line"
id="tspan466"
style="stroke-width:0.264583"
x="145.54729"
y="127.02646">Code Cache</tspan></text>
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect522"
width="48.947918"
height="6.6145854"
x="62.203541"
y="116.44312" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect524"
width="15.875001"
height="6.6145854"
x="46.328541"
y="124.38062" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect526"
width="15.875"
height="6.614583"
x="80.724373"
y="124.38062" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect528"
width="25.135416"
height="6.614583"
x="112.47437"
y="124.38062" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect530"
width="37.041668"
height="6.614583"
x="27.807707"
y="132.31813" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect532"
width="39.6875"
height="6.614583"
x="70.141045"
y="132.31813" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect534"
width="30.427082"
height="6.614583"
x="144.22437"
y="121.73479" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect536"
width="54.23959"
height="13.229161"
x="133.64104"
y="132.31813" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect538"
width="25.135416"
height="6.614583"
x="101.89104"
y="140.25562" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect540"
width="25.135416"
height="6.614583"
x="75.432709"
y="140.25562" />
<rect
style="fill:none;stroke:#000000;stroke-width:0.264999;stroke-linecap:square;paint-order:stroke markers fill"
id="rect542"
width="15.875"
height="6.614583"
x="58.234791"
y="140.25562" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 62.203541,119.08896 -9.260417,5.29166"
id="path607" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 111.15146,119.08896 13.22916,5.29166"
id="path609" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 88.661874,123.05771 v 1.32291"
id="path611" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 137.60979,127.02646 6.61458,-2.64584"
id="path613" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 137.60979,129.67229 15.875,2.64583"
id="path615" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 70.141041,136.28687 -3.96875,3.96875"
id="path617" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 88.661874,138.93271 v 1.32291"
id="path619" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 109.82854,136.28687 3.96875,3.96875"
id="path621" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 62.203541,128.34937 14.552083,3.96875"
id="path623" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 46.328541,128.34937 -7.9375,3.96875"
id="path625" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB