10.08.2015 Views

Sistemas Operativos Gestão de Memória

Memória Virtual

Memória Virtual

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!