|[ATL] Starting development of a new, faster Virtual Machine [message #66806]
||Mon, 26 November 2007 17:27
| Frédéric Jouault
Registered: July 2009
The development of a new (faster) ATL Virtual Machine has just started.
Its name is "EMF-specific VM" (or "emfvm"), because (at least for the
moment) it is specific to EMF.
Whereas the development of the previous VM was driven by modularity, the
development of emfvm is driven by performance.
Therefore, emfvm is a near-complete* rewrite:
- It implements the same specification.
- But most of the code has been rewritten from scratch with performance
- Only a few pieces of code where reused because they were not
especially sensitive (e.g., model loading, bytecode parsing, which are
not called from the main execution loop).
* "near-complete rewrite" means that most of the code is new, not that
the implementation is almost complete yet (see below).
A first version is already available on CVS as can be seen at:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine.emfvm/?r oot=Modeling_Project
Using emfvm requires installing it (only installation from CVS is
available at this time), then selecting the "EMF-specific VM" in the
advanced tab of the launch configuration. It is also possible to use
emfvm from ant scripts with the "vm" attribute of the am3.atl task.
Although it has already been tested successfully on several
transformations, emfvm does not implement all the features supported
by the previous VM yet. As explained above, emfvm is not yet ready to
replace the regular VM:
- Most users (especially new users) should still use the regular VM,
which is more complete, stable, and documented. The existence of emfvm
does not currently change anything for these users: the regular VM is
still used by default.
- Experimented ATL users can help the development of emfvm by reporting
( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2M& component=ATL-emfvm)
the missing features that prevent their favorite transformations from
running properly ;-).
Powered by FUDForum
. Page generated in 0.02464 seconds