Skip to main content

Blog Archive for mlam during December 2006

This article is a continuation of my series of discussions about the internals of the phoneME Advanced VM (commonly known as CVM) for JavaME CDC. Below, I'll work on fixing a bug in the VM. Along the way, I'll discuss more of CVM's internal mechanisms. Note: for the purpose of this discussion, I will only focus on the coding aspects. The source code version control details will not be...
There are a lot of not so nice things about using native methods. Here are some: less safe - think "stray pointers". less portable - you'll have to recompile them for every target device architecture you deploy on, present and future. less cost effective - need extra work to build and test all the architecture variations, extra disk storage for deploying all the different binary versions, etc....
The phoneME Advanced VM (CVM) comes with a dynamic adaptive compiler (JIT) which generates compiled code. Today's article will talk about how JIT compiled code uses the runtime execution stacks. I will also point out a few other tidbits about efficiency and performance as pertaining to the runtime stacks. Resources: start of CVM data structure discussion, start of stacks discussion, copy...
There's a term that I commonly use to describe CVM: embedded friendliness. Is this really a proper English term? Maybe, or maybe not. But it concisely expresses the idea that a system is suitably designed to work on embedded systems, and thereby has the property of embedded friendliness. And CVM is embedded friendly. If you are a purist of the English language, I apologize. But for the...