Sciweavers

GPCE
2005
Springer

Optimizing Marshalling by Run-Time Program Generation

14 years 5 months ago
Optimizing Marshalling by Run-Time Program Generation
Saving the internal data of an application in an external form is called marshalling. A generic marshaller is difficult to optimize because the format of the data that will be marshalled is unknown at the time the marshaller is implemented. On the other hand, efficient marshallers can be written for specific kinds of data. In this paper we use run-time program generation (RTPG) to produce specialized marshallers. We use Jumbo, a Java compiler supporting programmer-specified RTPG. We show that RTPG is easily employable. Speedups in order of magnitude can be achieved in some cases. We study the case where the data consist of a large number of objects of a single class and the case where there are objects of many classes. In the latter case, “just-in-time” heuristics allow us to limit RTPG costs and gain considerable speedups.
Baris Aktemur, Joel Jones, Samuel N. Kamin, Lars C
Added 27 Jun 2010
Updated 27 Jun 2010
Type Conference
Year 2005
Where GPCE
Authors Baris Aktemur, Joel Jones, Samuel N. Kamin, Lars Clausen
Comments (0)