|
From: Arno P. <ar...@pu...> - 2013-11-13 17:11:39
|
the compile times are indeed not great due to the dependency analysis.
It would theoretically be possible to compile all of Harmony into a
library while disabling optimizations such as constant pool and vtable.
In this case you would only have to recompile the application classes.
That would make a dramatic difference, but unfortunately is not easy to
do. Your idea about using xmlvm_create_java_string() is a low-hanging
fruit and should not be too difficult to implement, however, at this
point there is no command line option for this.
Arno
On 11/12/13 3:17 PM, Steve Hannah wrote:
> In order to make development more productive, I'd like to be able to
> recompile only those Java files that have been modified since my last
> compile. Looking at the code, it looks like this won't be possible (for
> the Java to C conversion) because all of the strings are generated
> centrally in a file called constant_pool.m, and explicit string indexes
> are used in the actual generated C files when using a string constant.
> This means that modifying any single Java file could result in changes
> to all other java files, since it would change the string index of all
> string literals.
>
> Is there a setting for XMLVM to disable the string pool usage, and
> instead just use xmlvm_create_java_string("...") to create the strings.
> Alternatively, is there another approach that can be used to make the
> generated source files independent of each other?
>
> Any pointers appreciated.
>
> Steve
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> xmlvm-users mailing list
> xml...@li...
> https://lists.sourceforge.net/lists/listinfo/xmlvm-users
>
|