.etc/Computer Fundamentals

lazy allocation

Jueun Park 2020. 11. 10. 14:50

 lazy allocation

최대한 실행파일의 Data들을 SSD/HDD(저장매체)로 올리는 것을 지연하는 것.

해당 Data가 필요한 시점이 되기 전까지는 어느 Data도 물리 메모리로 직접 넣지 않는다.

시간이 오래 걸리기 때문에 최대한 뒤로 늦추는 것

 

실행 순서

실행하기 위해 필요한 Data가 있다면

--> 요구페이징

--> 페이징 폴트(OS interrupt)

--> 물리 메모리에 올린다.

--> Page Table 업데이트

--> 해당 물리메모리(Data)에 접근

--> 실행됨

참고 : stackoverflow.com/questions/712683/what-is-lazy-allocation

 

what is lazy allocation?

What does lazy allocation of objects mean and how is it useful?

stackoverflow.com