# HG changeset patch # User matac42 # Date 1651822237 -32400 # Node ID 995537e3065015f077a00b19d2edb0c554fa3d35 # Parent 8ebb2cf0bce46a9a5e27cbdcb8e9e2f715bc593b fix: copying gc diff -r 8ebb2cf0bce4 -r 995537e30650 Paper/paper.aux --- a/Paper/paper.aux Fri May 06 15:54:16 2022 +0900 +++ b/Paper/paper.aux Fri May 06 16:30:37 2022 +0900 @@ -57,7 +57,6 @@ \@writefile{toc}{\contentsline {subsection}{\numberline {8.2}{GearsDirectory filename}}{6}{}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.3}{GearsDirectory path}}{6}{}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.4}{ファイルのバックアップ}}{6}{}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.5}{GearsDirectory on disk}}{6}{}\protected@file@percent } \citation{*} \bibstyle{ipsjunsrt} \bibdata{matac-bib} @@ -73,6 +72,7 @@ \bibcite{cfile}{10} \bibcite{file}{11} \bibcite{christie}{12} +\@writefile{toc}{\contentsline {subsection}{\numberline {8.5}{GearsDirectory on disk}}{7}{}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9}\hskip 1zw{まとめ}}{7}{}\protected@file@percent } \newlabel{ipsj@lastpage}{{}{7}} \gdef \@abspage@last{7} diff -r 8ebb2cf0bce4 -r 995537e30650 Paper/paper.log --- a/Paper/paper.log Fri May 06 15:54:16 2022 +0900 +++ b/Paper/paper.log Fri May 06 16:30:37 2022 +0900 @@ -1,4 +1,4 @@ -This is e-pTeX, Version 3.141592653-p3.9.0-210218-2.6 (utf8.euc) (TeX Live 2021) (preloaded format=platex 2021.11.27) 6 MAY 2022 15:53 +This is e-pTeX, Version 3.141592653-p3.9.0-210218-2.6 (utf8.euc) (TeX Live 2021) (preloaded format=platex 2021.11.27) 6 MAY 2022 16:20 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -3252,9 +3252,7 @@ \OT1/cmr/m/n/8.8711 https://pdos.csail.mit.edu/6.828/2018/xv6/book- [] -) [7 - -] (./paper.aux) +) [7] (./paper.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. @@ -3268,4 +3266,4 @@ 929 hyphenation exceptions out of 8191 68i,10n,74p,294b,1681s stack positions out of 5000i,500n,10000p,200000b,80000s -Output written on paper.dvi (7 pages, 59856 bytes). +Output written on paper.dvi (7 pages, 60464 bytes). diff -r 8ebb2cf0bce4 -r 995537e30650 Paper/paper.pdf Binary file Paper/paper.pdf has changed diff -r 8ebb2cf0bce4 -r 995537e30650 Paper/paper.synctex.gz Binary file Paper/paper.synctex.gz has changed diff -r 8ebb2cf0bce4 -r 995537e30650 Paper/paper.tex --- a/Paper/paper.tex Fri May 06 15:54:16 2022 +0900 +++ b/Paper/paper.tex Fri May 06 16:30:37 2022 +0900 @@ -407,6 +407,11 @@ また,メモリ上とディスク上のデータのアドレスが異なるため,ユーザーレベルからポインタを用いた場合,問題になる. しかしながら,GearsOSではユーザーレベルでポインタを用いることを禁止しているため,問題ないと考える. +ガベージコレクションについては,Copying GCを用いる. +Copying GCは単純に用いるとメモリ容量が倍必要になるという問題がある. +そこで,リンクしているデータのみをコピーすることによってメモリ使用量を削減したい. +データがリンクされているかどうかはLinkedListを参照し判断する. + \section{今後の課題}