Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Deadlock on startup

Moderators: Vladimir Kondratyev, Anton Katilin

Deadlock on startup

Postby tawek » Wed Jan 19, 2005 11:29 am

Deadlock occurs at startup.
This is unfortunately non-deterministic.
Deadlock occurs every 9 out of 10 runs.

Good luck hunting it !

-----------------------------------------

Weblogic 8.1SP2
SunOS fire 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-V240

java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)


/home/bea/java/bin/java -client -Xms32m -Xmx256m -Xrunyjpagent:port=19000 -Dweblogic.Debug= -Dweblogic.Name=mybea -Dweblogic.ProductionModeEnabled= -Djava.security.policy=/home/bea/weblogic81/server/lib/weblogic.policy weblogic.Server
[YourKit Java Profiler 4.0 EAP build 508] Using JVMPI


"YJP RequestServer":
waiting to lock monitor 0x000c8998 (object 0xe541c570, a sun.misc.Launcher$AppClassLoader),
which is held by "main"
"main":
waiting to lock monitor 0x000c89d0 (object 0xe54160b8, a java.lang.Runtime),
which is held by "YJP RequestServer"

Java stack information for the threads listed above:
===================================================
"YJP RequestServer":
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at sun.misc.Service$LazyIterator.next(Service.java:270)
at java.nio.charset.Charset$1.getNext(Charset.java:305)
at java.nio.charset.Charset$1.hasNext(Charset.java:318)
at java.nio.charset.Charset$2.run(Charset.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.lookupViaProviders(Charset.java:358)
at java.nio.charset.Charset.lookup(Charset.java:426)
at java.nio.charset.Charset.isSupported(Charset.java:448)
at java.lang.StringCoding.lookupCharset(StringCoding.java:82)
at java.lang.StringCoding.encode(StringCoding.java:363)
at java.lang.StringCoding.encode(StringCoding.java:380)
at java.lang.String.getBytes(String.java:590)
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:221)
at java.io.File.exists(File.java:680)
at java.lang.ClassLoader$3.run(ClassLoader.java:1524)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1521)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
- locked <0xe54160b8> (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:60)
at java.net.ServerSocket.setImpl(ServerSocket.java:236)
at java.net.ServerSocket.<init>(ServerSocket.java:178)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.yourkit.runtime.RequestServer.startServerImpl(RequestServer.java:194)
at com.yourkit.runtime.RequestServer.access$000(RequestServer.java:12)
at com.yourkit.runtime.RequestServer$1.run(RequestServer.java:90)
"main":
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
- waiting to lock <0xe54160b8> (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.zip.Inflater.<clinit>(Inflater.java:62)
at java.util.zip.ZipFile.getInflater(ZipFile.java:263)
- locked <0xe542fc80> (a java.util.Vector)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:210)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:184)
at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:421)
at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:15)
at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:803)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:289)
- locked <0xe541c830> (a sun.misc.URLClassPath)
at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
- locked <0xe541c570> (a sun.misc.Launcher$AppClassLoader)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
- locked <0xe541c570> (a sun.misc.Launcher$AppClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
- locked <0xe541c570> (a sun.misc.Launcher$AppClassLoader)
tawek
 
Posts: 2
Joined: Wed Jan 19, 2005 11:21 am

Postby Vladimir Kondratyev » Wed Jan 19, 2005 5:40 pm

Thank you very much for this bug report. We'll try to fix this bug in build #514
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Vladimir Kondratyev » Mon Jan 24, 2005 1:22 pm

Build #514 contains fix of your problem. Please check whether it helps.
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Vladimir Kondratyev » Wed Feb 02, 2005 7:08 am

Is the problem still reproducible in latest builds (514+)?
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.