addDefaultHeap and SISC_HOME
"Dan Muresan" <[email protected]> Fri, 5 Jan 2007 16:26:05 +0200
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi sisc-users, happy New Year!
The documentation says (in Chapter 8)
"The heap can be automatically located if it is in the directory
pointed to by the SISC_HOME environment variable, the current
directory, or on the Java classpath. In the last case however, it will
be loaded into memory entirely, rather than read in as needed"
This seems to refer to addDefaultHeap() and findHeap() (but might also
refer to the sisc startup script).
The code for findHeap() actually looks in
System.getProperty("sisc.heap"), the current dir, the place anchored
by sisc.boot.HeapAnchor, and /sisc/boot/sisc.shp. It would be nice if
these were documented, and even nicer if SISC_HOME were actually read
from Java.
Another question: what does "read in as needed" mean? What are the
memory/speed tradeoffs in this case?
Dan Muresan
http://alumnus.caltech.edu/~muresan/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV