You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/07/16 19:52:33 UTC

[GitHub] [netbeans] sdedic opened a new pull request #2260: [NETBEANS-4123] PAC evaluator scripts runs just one at a time.

sdedic opened a new pull request #2260:
URL: https://github.com/apache/netbeans/pull/2260


   NetBeans prefer the bundled-in `GraalVM:js` javascript engine for security reasons, but that engine cannot be used by multiple threads simultaneously. In fact, no javascript `ScriptEngine` probably can, since the shared toplevel scope is not likely to be thread-safe in a single-thread language.
   
   The patch will simply prevent two threads from simultaneous execution in the same JS context; should not deadlock as the PAC evaluation cannot reach out to java classes.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] sdedic merged pull request #2260: [NETBEANS-4123] PAC evaluator scripts runs just one at a time.

Posted by GitBox <gi...@apache.org>.
sdedic merged pull request #2260:
URL: https://github.com/apache/netbeans/pull/2260


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists