[GitHub] arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks.
arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks. URL: https://github.com/apache/incubator-netbeans/pull/1061#issuecomment-462263515 Gradle has a bug in it that triggers it: https://github.com/gradle/gradle/issues/8119 But it is a general problem, it can happen if there (watched directory from NB filesystem) is a broken link from any reason... This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks.
arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks. URL: https://github.com/apache/incubator-netbeans/pull/1061#issuecomment-450927092 I found the best place to patch the file event system. Look at the last commit. https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches/commit/e485736a1e68f338288be27ced28c1b1506fad5d And I added a description of the problem in Slovak language: https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches/issues/2 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks.
arsi-apli commented on issue #1061: [NETBEANS-168] Simple least intrustive patch prevent IDE to burn CPU on broken symlinks. URL: https://github.com/apache/incubator-netbeans/pull/1061#issuecomment-450758770 The author of the masterfs module did not know that the file.exists() returns false for a broken link. There is FileChangedManager and that's the biggest problem, there is a cached condition of file existence. `FileChangedManager.exists() and FileChangedManager.impeachExistence()` The code is terribly complex and the analysis is for a few days. And I feel that direct reading of the file states takes less cpu time as the monster.. And the biggest problem is my Google translator English.. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists