Javascript must be enabled to continue!
Thinking Inside the Box
View through CrossRef
The web browser is the “new desktop.” Not only do many users spend most of their time using the browser, the browser has also become host to rich and dynamic applications that were previously tailored to each individual operating system. The lingua franca of web scripting, JavaScript, was pivotal in this development.
Imagine that all desktop applications allocated memory from a single heap managed by the operating system. To reclaim memory upon application shutdown, all processes would then be garbage collected—not just the one being quit. While operating systems improved upon this approach long ago, this was how browsers managed memory until recently.
This article explores
compartmentalized
memory management, an approach tailored specifically to web browsers. The idea is to partition the JavaScript heap into compartments and allocate objects to compartments based on their origin. All objects in the same compartment reference each other direct, whereas cross-origin references go through wrapper objects.
We carefully evaluate our techniques using Mozilla’s Firefox browser—which now ships with our enhancements—and demonstrate the benefits of collecting each compartment independently. This simultaneously improves runtime performance (up to 36%) and reduces garbage collection pause times (up to 75%) as well as the memory footprint of the browser. In addition, enforcing the same-origin security policy becomes simple and efficient with compartments.
Association for Computing Machinery (ACM)
Title: Thinking Inside the Box
Description:
The web browser is the “new desktop.
” Not only do many users spend most of their time using the browser, the browser has also become host to rich and dynamic applications that were previously tailored to each individual operating system.
The lingua franca of web scripting, JavaScript, was pivotal in this development.
Imagine that all desktop applications allocated memory from a single heap managed by the operating system.
To reclaim memory upon application shutdown, all processes would then be garbage collected—not just the one being quit.
While operating systems improved upon this approach long ago, this was how browsers managed memory until recently.
This article explores
compartmentalized
memory management, an approach tailored specifically to web browsers.
The idea is to partition the JavaScript heap into compartments and allocate objects to compartments based on their origin.
All objects in the same compartment reference each other direct, whereas cross-origin references go through wrapper objects.
We carefully evaluate our techniques using Mozilla’s Firefox browser—which now ships with our enhancements—and demonstrate the benefits of collecting each compartment independently.
This simultaneously improves runtime performance (up to 36%) and reduces garbage collection pause times (up to 75%) as well as the memory footprint of the browser.
In addition, enforcing the same-origin security policy becomes simple and efficient with compartments.
Related Results
Identification and bioinformatics analysis of MADS-box family genes containing K-box domain in maize
Identification and bioinformatics analysis of MADS-box family genes containing K-box domain in maize
The MADS-box family genes are involved in the development of plant roots, leaves, flowers, and fruits, and play a crucial role in plant growth and development. Studying MADS-box ge...
Design Thinking vs design thinking
Design Thinking vs design thinking
<p><b>This research offers a comparison of the different uses of design thinking and investigates how design thinking is used within business models and compares this t...
The Development of an Instructional Model Based on Experiential Learning Theory and Six Thinking Hats to Improve the Critical Thinking Ability of Undergraduate Students
The Development of an Instructional Model Based on Experiential Learning Theory and Six Thinking Hats to Improve the Critical Thinking Ability of Undergraduate Students
Yulin Normal University preschool education major existing children's game course instructional model more in passing test knowledge and practice test skills, students used to pass...
Behaviour of Silver Foxes in Traditional Breeding Boxes and in Boxes With an Entrance Tunnel
Behaviour of Silver Foxes in Traditional Breeding Boxes and in Boxes With an Entrance Tunnel
AbstractThe periparturient behaviour of silver-fox females inside traditional and modified breeding boxes was video-recorded. The behaviour was analysed from 24 hours before partur...
TRANSFORMING THE CLASSROOM WITH DESIGN THINKING
TRANSFORMING THE CLASSROOM WITH DESIGN THINKING
Design thinking is not a new concept, but it is a tool that could potentially be very useful in the classroom. It is deeply rooted in the scientific method and works well with the ...
Design Thinking in Business and Management: Research History, Themes, and Opportunities
Design Thinking in Business and Management: Research History, Themes, and Opportunities
Design thinking is a human-centered, innovation-focused problem-solving approach that employs various tools and methods for creative purposes. It is a dynamic process and often pri...
Sarana Berfikir Ilmiah (Bahasa, Logika, Matematika dan Statistika)
Sarana Berfikir Ilmiah (Bahasa, Logika, Matematika dan Statistika)
Right thinking requires means or tools of thinking. This means is certain, so scientific activity will not be maximized without the means of scientific thinking. Mastery of scienti...
Escaping the Shadow
Escaping the Shadow
Photo by Karl Raymund Catabas on Unsplash
The interests of patients at most levels of policymaking are represented by a disconnected patchwork of groups … “After Buddha was dead, ...

