Sciweavers

CBSE
2008
Springer

A Practical Approach for Finding Stale References in a Dynamic Service Platform

14 years 2 months ago
A Practical Approach for Finding Stale References in a Dynamic Service Platform
The OSGiTM Service Platform is becoming the de facto standard for modularized Java applications. The market of OSGi based COTS components is continuously growing. OSGi specific problems make it harder to validate such components. The absence of separate object spaces to isolate components may lead to inconsistencies when they are stopped. The platform cannot ensure that objects from a stopped component will no longer be referenced by active code (a problem referred by OSGi specification as stale references) leading to memory retention and inconsistencies (e.g., utilization of invalid cached data) that can introduce faults in the system. This paper classifies different patterns of stale references detailing them and presents techniques based on Aspect Oriented Programming for runtime detection of such problems. We also present a fail-stop mechanism on services to avoid propagation of incorrect results. These techniques have proven to be effective in a tool implementation that validated ...
Kiev Gama, Didier Donsez
Added 12 Oct 2010
Updated 12 Oct 2010
Type Conference
Year 2008
Where CBSE
Authors Kiev Gama, Didier Donsez
Comments (0)