Bug 179909 - deadlock in lexer infrastructure
deadlock in lexer infrastructure
Product: editor
Classification: Unclassified
Component: Lexer
PC All
: P3 (vote)
: 7.3
Assigned To: Miloslav Metelka
Depends on:
  Show dependency treegraph
Reported: 2010-01-27 05:22 UTC by Alexey Vladykin
Modified: 2012-10-30 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

Thread dump (16.46 KB, text/plain)
2010-01-27 05:23 UTC, Alexey Vladykin

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vladykin 2010-01-27 05:22:34 UTC
A deadlock sometimes happens in lexer infrastructure if MakefileLanguageProvider has static final field assigned from new MakefileLanguageHierarchy.language().
I've already fixed it by removing the static field, but still want to let you know about the potential problem.

Steps to reproduce:
- update to changeset 7b34677e168c
- rebuild netbeans
- run tests of cnd.script module
- deadlock happens (not every time but quite often)

Thread dump is attached.
Comment 1 Alexey Vladykin 2010-01-27 05:23:30 UTC
Created attachment 93589 [details]
Thread dump
Comment 2 Miloslav Metelka 2012-10-30 10:20:10 UTC
The code is changed significantly the LanguageHierarchy no longer calls LanguageManager so hopefully the deadlock should not occur. Please reopen if the problem would still be present.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo