Abstract

From a real-time perspective, the GC introduces unpredictable pauses that are not tolerated by real-time tasks. Real-time collectors eliminate this problem but introduce a high overhead. Another approach is to use memory regions (MR) within which allocation and deallocation are customized. This facility is supported by the memory model of the Real-Time Specification for Java (RTSJ). RTSJ imposes strict access rules and assignment rules to avoid both delays of critical tasks for the GC and dangling inter-region references, which results in an unfamiliar programming model. The guidelines given by RTSJ to implement the assignment rules also increase the program complexity. This paper provides an indepth analytical investigation of the dynamic checks required to maintain the safety of a RTSJ implementation, and propose a simplification of the algorithms managing memory regions which requires some changes on the RTSJ memory management rules.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.