Work

Experience with statically-generated proxies for facilitating Java runtime specialisation

Year: 2002
Type: article
Abstract: Issues pertaining to mechanisms which can be used to change the behaviour of Java classes at runtime are discussed. The proxy mechanism is compared to, and contrasted with other standard approaches to this problem. Some of the problems the proxy mechanism is subject to are expanded upon. The question of whether statically-developed proxies are a viable alternative to bytecode rewriting was investigated by means of the JavaCloak system, which uses statically-generated proxies to alter the runtime behaviour of externally-developed code. The issues addressed include ensuring type safety, dealing with the self problem, object encapsulation, and issues of object identity and equality. Some performance figures are provided which demonstrate the load the JavaCloak proxy mechanism places on the system.
Author: K. Renaud
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W1980625560
FWCI: 0.601
Cites: 10
Cited by: 4
Related to: 10