Sistemas Operativos Gestão de Memória
Memória Virtual
Memória Virtual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
BBAlgoritmos <strong>de</strong> Alocação Dinâmica <strong>de</strong> <strong>Memória</strong>(a) A X◮ A libertação <strong>de</strong> memória é relativamente simples:Before X terminates(b) A XX B(d) (c)Xbecomesbecomesbecomesbecomes◮ A alocação é mais interessante:first fit: simples e eficiente;next fit: começa varrimeno on<strong>de</strong> parou da última vez - <strong>de</strong>facto pior do que first fit;best fit: tenta evitar fragmentação, mas . . .worst fit: tenta evitar fragmentos muito pequenos, mas . . .After X terminatesBAA