[ 
https://issues.apache.org/jira/browse/DERBY-6980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691794#comment-16691794
 ] 

Rick Hillegas commented on DERBY-6980:
--------------------------------------

Concerning the "Put Derby first in your classpath" topic in the Tuning Guide:

On the Open JDK core-libs-dev mailing list, on an email topic titled "speed of 
class loading via a modulepath", Rémi Forax replied (and Alan Bateman 
concurred):

"For the modulepath, a module own the packages it contains so the VM maintains 
a map that associate a package name to a modular jar, there is no linear lookup 
to find a class anymore.

Now, if you use the modulepath, you may have regression at startup compared to 
using the classpath because by default the module graph is created and checked 
at startup before running the application.
For faster startup, you can combined jlink (that created one archive from all 
jars), appcds (prepare an image of the classes in memory), jaotc (pre-JIT the 
bytecode) or use graal native image (again pre-JIT + one image but with 
reflection limitation and its own GC)."


> Documentation changes to accompany jigsaw-modularization of derby
> -----------------------------------------------------------------
>
>                 Key: DERBY-6980
>                 URL: https://issues.apache.org/jira/browse/DERBY-6980
>             Project: Derby
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 10.15.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>            Priority: Major
>         Attachments: derby-6980-01-aa-moduleDiagramsInJavadoc.diff, 
> derby-6980-02-aa-addOverviewPageToInternalJavadoc.diff, 
> derby-6980-03-aa-securityPolicies.diff, 
> derby-6980-03-aa-securityPolicies.tar, 
> derby-6980-04-aa-updateDocsVariables.diff, derby-6980-05-aa-miscCleanup.diff, 
> derby-6980-05-aa-miscCleanup.tar, 
> derby-6980-06-aa-updateMinimumJDK-inDocs.diff
>
>
> This is a place to collect the documentation changes which must be made as a 
> result of the work on DERBY-6945.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to