#240 Non-functional incremental heap building

open
nobody
None
5
2007-12-12
2007-12-12
No

The "-in" option accepted by sisc.boot.GenerateHeap cannot currently be used to build a heap on top of an existing one. For instance the following should make a copy of a heap:

--8<----8<----8<----8<----8<--
snoopy:~/src/sisc > java -cp classes sisc.boot.GenerateHeap -in
sisc.shp -out copy-sisc.shp
Reading input heap: sisc.shp
Generating heap: copy-sisc.shp
Partitioning bindings...
WARNING: no binding for R5RS symbol lambda
WARNING: no binding for R5RS symbol quote
WARNING: no binding for R5RS symbol letrec
...
WARNING: no binding for R5RS symbol syntax-error
Saving heap...
Pass 1: Discovery...
Pass 2: Write data segment
Pass 3: Write index
Pass 4: Append data segment
3 classes
9 entry points
Heap saved.
--8<----8<----8<----8<----8<--

Note the 3 classes and 9 entry point versus the 45 and 3347 of the original (lite) heap.

Discussion


Log in to post a comment.