8170987: Module system implementation refresh (12/2016)

Chris Hegarty chris.hegarty at oracle.com
Thu Dec 15 14:58:03 UTC 2016


> On 15 Dec 2016, at 09:17, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> ...
>> When we use —-module-version for user modules, the runtime will load
>> regex.  The system modules jlink plugin uses the cached version if
>> JDK modules to be compiled with —0module-version in the future.
>> This might be something we should look at in the future for performance.
> I'm sure Claes will be interested in that although I don't think we have any need to compile the JDK modules with --module-version, except maybe for testing exploded modules.

Don’t we want the Optional<Version> returned by Requires::compiledVersion
to be non-empty, for system modules?

-Chris.



More information about the hotspot-runtime-dev mailing list