Proving the absence of RTSJ related runtime errors through data flow analysis

Fridtjof B. Siebert · 2006

The Real-Time Specification for Java (RTSJ) introduces region based memory management to avoid the need for garbage collection. This region based memory management, however, introduces new possible runtime errors. Ensuring that an RTSJ application executes correctly requires proving that no memory related runtime excpetions can occur.The use of program-wide pointer analysis for proving the absence of runtime error conditions such as null pointer uses or illegal casts is still not widespread. Current uses of program-wide pointer analysis focus on extracting information for optimisations in compilers. In this case, imprecise analysis results only in less agressive optimisation, which is often tolerable.This papers presents the application of a program-wide data flow analysis to prove the absence of memory related runtime errors such as those introduced by the RTSJ.

Read the paper · More papers on PaperTik