jtulach commented on PR #9142:
URL: https://github.com/apache/netbeans/pull/9142#issuecomment-3760598688

   - it seems that the _exit method breakpoints_ prevent OpenJDK from 
optimizing properly
   - maybe installing such a breakpoint forces running in interpreter mode?
   - avoiding the _exit method breakpoint_ or installing it for _as little as 
possible_ shall improve the poor 40s delay
   
   > * of course, commenting out this line is not an option
   > * my goal in this PR is to speed the initialization while making the rest 
of the Truffle debugging functional
   
   - with 6268481 I managed to get the time down to 10s
   - that is still more than 4s without installing the _exit method breakpoint_ 
on `Engine.build()` 
   - but it is better than previous 40s
   
   > wondering if there is a relation to #7663
   
   - probably yes. 
   - If applying 9e24c441f2902188bebdf83897dd1188472485dc speeds your case up, 
then yes, 
   - it is probably the _exit method breakpoint_ cause


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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

Reply via email to