Optimizing marshalling by run-time program generation

被引:0
|
作者
Aktemur, B [1 ]
Jones, J
Kamin, S
Clausen, L
机构
[1] Univ Illinois, Urbana, IL 61801 USA
[2] Univ Alabama, Tuscaloosa, AL 35487 USA
[3] States Library, Aarhus, Denmark
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Saving the internal data of an application in an external form is called marshalling. A generic manshaller 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.
引用
收藏
页码:221 / 236
页数:16
相关论文
共 50 条
  • [1] Optimizing ML with run-time code generation
    Lee, P
    Leone, M
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (05) : 137 - 148
  • [2] Optimizing ML with run-time code generation
    Lee, P
    Leone, M
    [J]. ACM SIGPLAN NOTICES, 2004, 39 (04) : 542 - 553
  • [3] GENERATION OF RUN-TIME ENVIRONMENTS
    KAISER, GE
    [J]. SIGPLAN NOTICES, 1986, 21 (07): : 51 - 57
  • [4] Run-Time Code Generation for Materials
    Reiter, Stephan
    [J]. RT08: IEEE/EG SYMPOSIUM ON INTERACTIVE RAY TRACING 2008, PROCEEDINGS, 2008, : 188 - 188
  • [5] Routine run-time code generation
    Kamin, S
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (12) : 44 - 56
  • [6] Mumbo: A Rule-Based Implementation of a Run-time Program Generation Language
    Aktemur, Baris
    Kamin, Sam
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 147 (01) : 31 - 55
  • [7] Using run-time data for program comprehension
    Gschwind, T
    Oberleitner, J
    Pinzger, M
    [J]. IWPC 2003: 11TH IEEE INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, 2003, : 245 - 250
  • [8] ON THE RUN-TIME OPTIMIZATION OF THE BOOLEAN LOGIC OF A PROGRAM
    CADOLINO, C
    GUAZZO, M
    [J]. INFORMATION PROCESSING & MANAGEMENT, 1982, 18 (05) : 267 - 279
  • [9] AUTOMATIC GENERATION OF RUN-TIME PARAMETERIZABLE CONFIGURATIONS
    Bruneel, Karel
    Stroobandt, Dirk
    [J]. 2008 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE AND LOGIC APPLICATIONS, VOLS 1 AND 2, 2008, : 360 - 365
  • [10] GENERATION OF PARTIAL FPGA CONFIGURATIONS AT RUN-TIME
    Silva, Miguel L.
    Ferreira, Joao Canas
    [J]. 2008 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE AND LOGIC APPLICATIONS, VOLS 1 AND 2, 2008, : 366 - +