[
https://issues.apache.org/jira/browse/NETBEANS-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated NETBEANS-6077:
-------------------------------------
Labels: pull-request-available (was: )
> Groovy loads half of Micronaut library on each completion
> ---------------------------------------------------------
>
> Key: NETBEANS-6077
> URL: https://issues.apache.org/jira/browse/NETBEANS-6077
> Project: NetBeans
> Issue Type: Bug
> Components: groovy - Editor, javaee - Micronaut
> Affects Versions: 12.5
> Reporter: Svatopluk Dedic
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Transformations / visitors are loaded from user project's libraries to
> participate on groovy compilation. It seems that classes of those visitors
> are loaded for *each parse operation* anew, which makes the parser startup
> longer.
> Attaching a report (placed Logger.info() in TransformationLoader.findClass())
> - about 570 classes are loaded after each keystroke + parse.
> Mitigation step 1: have the loaded classes cached based on set of library
> URLs used by the project (cache the parent classloader).
> Mitigation step 2: consider to disable InjectTransform etc. from Micronaut ...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists