I am new in Embedded Java (J2ME).
jxelink (SmartLinker) offers options for:
- AOT (ahead of time compliation) - should gain execution speed in any case?
- XIP (ROMizing) - gains memory and reduces startup-time?
- smart linking (removal of unused code - classes, methods, fields) - no
really needed, if the project
is carefully maintained and does not contain unnecessary code
I can imagine the effects of ROMizing (reduced overall memory usage because
classes do not
exist twice - in flash file system and later and runtime RAM - but only
once).
Ahead-of-time compilation should gain runtime speed compared to
interpretation or JIT (just-in-time
compilation).
Can anyone tell me about real positive experiences when using SmartLinker?
Did it make your code faster or smaller?
Which were the really important SmartLinker features to you?
Is the resulting code fully JVM-spec-compatible?
Your suggestions will be appreciated,
cheers,
Yifei
Charlie
"Yifei Chen" <yifei...@3soft.de> wrote in message
news:b4kbmv$k34$1...@news.boulder.ibm.com...
- interns all your literal Strings; a decent Java compiler will do this on a
.class file - by - .class file basis, but jxeLink does it for all the
strings in all the .classes in the jxe
- obfuscation, which also cuts down on string data
- generates a format which the VM actually generates when it reads .class
files. So, there is almost no cost in getting the class definitions into
the format the VM requires; there is overhead doing this with .class files
which the VM needs to 'interpret' into a live structural thing to run
against.
The last point is the real reason for Smartlinker's existance; everything
else is just gravy. You would have classes in RAM and ROM even if you put
.class files in ROM; if you put your .jxe in ROM, it's ONLY in ROM.
--
----------------------------------------------------
Patrick Mueller
pmu...@us.ibm.com
----------------------------------------------------
"Charlie Surface" <in...@oti.com> wrote in message
news:b4kuus$rf2$1...@news.boulder.ibm.com...
i see, thanks for your help...
best regards,
Yifei
"Yifei Chen" <yifei...@3soft.de> schrieb im Newsbeitrag
news:b4kbmv$k34$1...@news.boulder.ibm.com...