harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenlong Li" <wenl...@gmail.com>
Subject [VM] On-demand class library parsing is ready to commit
Date Fri, 19 Dec 2008 07:45:35 GMT
Hello, all,

I did the pre-commit test on the patch of on-demand class library
parsing (https://issues.apache.org/jira/browse/HARMONY-6039), and it
works well now.
Can Harmony incorporate this feature?

Via on-demand class parsing, we can reduce startup time from 20+
seconds to 3 seconds for cold runing, and 170 ms to 140 ms for warm-up
running on Core 2 Duo with Windows.

After applying the patch, please note there is some change to add new modules.
(1) If you want to add new modules/libraries, please don't put them in
the bootclasspath.properties file. This file now only saves modules
needed during startup (the VM startup only accesses class libraries in
eight modules)
(2) For new modules/libraries, please put them in the
modulelibrarymapping.properties file. You should specify the module
name and its exported class library. Here is one example:
math.jar=java.math, where "math.jar" means the module name, and
"java.math" means the class libraries this module exports.


View raw message