WebLogic 10.3 with JDK 1.6_16 - thread hangs in Java Reflection

We have recurring Weblogic threads hanging for 600+ seconds, or sometimes only 30 seconds (which is just as bad) on seemingly trivial Java Reflection operations.

Stream dumps and the WebLogic built-in alert about a stuck stream, all show the same native code, but I don’t know what can cause it to hang for such long intervals (the thread is stuck below).

I noticed that the message appears, which is strange since the JDK itself is jdk160_16.

This is on Solaris with active I / O enabled, but maybe some other settings are wrong?

Different threads have different earlier code, but the stuck section is always the same:

"[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x01c2f000 nid=0x74 runnable [0x5bcfc000]
   java.lang.Thread.State: RUNNABLE
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
    at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597) 
+3
source share

Source: https://habr.com/ru/post/1783478/


All Articles