Compartmental Memory Management In A Modern Web Browser

ACM SIGPLAN Notices(2011)

引用 14|浏览40
暂无评分
摘要
Since their inception, the usage pattern of web browsers has changed substantially. Rather than sequentially navigating static web sites, modern web browsers often manage a large number of simultaneous tabs displaying dynamic web content, each of which might be running a substantial amount of client-side JavaScript code. This environment introduced a new degree of parallelism that was not fully embraced by the underlying JavaScript virtual machine architecture. We propose a novel abstraction for multiple disjoint JavaScript heaps, which we call compartments. We use the notion of document origin to cluster objects into separate compartments. Objects within a compartment can reference each other directly. Objects across compartments can only reference each other through wrappers. Our approach reduces garbage collection pause times by permitting collection of sub-heaps ( compartments), and we can use cross-compartment wrappers to enforce cross origin object access policy.
更多
查看译文
关键词
Design,Performance,Experimentation,Web-Browser Architecture,Isolation,Memory Management,Garbage Collection
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要