This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 30904 - deadlock in JarFileSystem [only with Server JVM]
Summary: deadlock in JarFileSystem [only with Server JVM]
Status: CLOSED DUPLICATE of bug 30464
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords:
: 33151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-10 14:04 UTC by Marian Petras
Modified: 2008-12-22 20:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dump (21.36 KB, text/plain)
2003-02-10 14:07 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2003-02-10 14:04:56 UTC
Every time I run NetBeans using JDK 1.4.1 Server,
NetBeans hangs within half an hour.

Suspicious parts of a thread dump are below, the
full thread-dump is in the attachment.

"JarFs - modification watcher" daemon prio=1
tid=0x19d1c0 nid=0x50
  waiting for monitor entry [def01000..def01994]
        at 
~.JarFileSystem.parse(JarFileSystem.java:754)
        - waiting to lock <ee7f0550> (a
java.lang.Object)
        at
~.JarFileSystem.access$600(JarFileSystem.java:38)
        at
~.JarFileSystem$2.run(JarFileSystem.java:863)
        at org.openide.util.Task.run(Task.java:136)
        at
~.RequestProcessor$Processor.run(RequestProcessor.java)

"Java source parsing" daemon prio=5 tid=0x151f98
nid=0x35
  waiting on condition [df3fe000..df401994]
        at
~.JarFileSystem.addFile(JarFileSystem.java:832)
        at
~.JarFileSystem.parse(JarFileSystem.java:775)
        - locked <ee7f0550> (a java.lang.Object)
        at
~.JarFileSystem.folder(JarFileSystem.java:373)
        at
~.JarFileSystem$Impl.folder(JarFileSystem.java:1006)
        ...
        at
~.editor.java.JCUpdater.processNode(JCUpdater.java:256)
        - locked <f4afc778> (a
~.editor.java.JCUpdater)
        at
~.editor.java.JavaKit$1.updateParserDB(JavaKit.java:980)
Comment 1 Marian Petras 2003-02-10 14:07:09 UTC
Created attachment 8869 [details]
full thread dump
Comment 2 Marian Petras 2003-02-10 14:31:16 UTC
JVM (output from "java -server -version"):

java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Server VM (build 1.4.1-b21, mixed mode)

Startup parameters:

-server -J-Xmx192m -J-XX:PermSize=20m -J-XX:+UseConcMarkSweepGC
Comment 3 pzajac 2003-02-10 15:14:50 UTC
don't use +UseConcMarkSweepGC


*** This issue has been marked as a duplicate of 30464 ***
Comment 4 Tomas Hurka 2003-04-23 14:52:56 UTC
*** Issue 33151 has been marked as a duplicate of this issue. ***
Comment 5 Marian Mirilovic 2003-07-22 15:51:14 UTC
verified, closed - it's duplicate.