CP_SOFILE

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Mon Sep 07 1998 - 03:32:45 EDT


Tim,
What's the status of the CP_SOFILE stuff in findInJar.c? Is this working?
Is there a decided-upon standard for the format of these files?

It would really be nice for an embedded system to be able to pre-JIT-compile
all of the class files into binary format. This would save JIT time
as well as memory, because you wouldn't have to ship class files.
It would also be nice if kaffe could memory-map these files (comes
for free with dlopen() I guess) since they would be read-only.

More generally, kaffe could keep a cache hierarchy of these files.
Whenever it JIT's something, it could save the result in a CP_SOFILE
file. Each time it loaded a class, it could compare timestamps in hopes
of avoiding JIT'ing the same thing over again.

Eg,

  kaffe -cachedir /tmp/binaryclasses ...

Also, are you still working with Per Bothner on gcc compatibility?

Thanks,
-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:56:54 EDT