You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/08/12 09:08:00 UTC
[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on
startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397945#comment-17397945 ]
Svatopluk Dedic edited comment on NETBEANS-5914 at 8/12/21, 9:07 AM:
---------------------------------------------------------------------
Well, the Hyperlink API also holds read_lock on the document while calling out to providers. The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld be fixed as well.
Consistency can't be guaranteed as input is an offset + no lock is held, so document may mutate before read_lock is obtained. So we can only ensure weak consistency by e.g. not painting the hyperlink if a concurrent doc change occurs (?)
was (Author: sdedic):
Well, the Hyperlink API also holds read_lock on the document while calling out. The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld be fixed as well.
> NetBeans 12.4 freezes on startup
> --------------------------------
>
> Key: NETBEANS-5914
> URL: https://issues.apache.org/jira/browse/NETBEANS-5914
> Project: NetBeans
> Issue Type: Bug
> Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10.
> Reporter: Eirik Bakke
> Assignee: Jaroslav Tulach
> Priority: Major
> Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, 210526 NetBeans Deadlock again.txt
>
>
> On NetBeans 12.4, I was previously experiencing some intermittent freezes on startup, at the time when projects were being loaded and such. I did some thread dumps of the frozen IDE using VisualVM. I'm uploading these now in case they are related to NETBEANS-5913.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists