Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218989

Slow perf around sun.org.mozilla.javascript.internal.Kit.classOrNull

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 7u191
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Submitter complaining about slow application performance. JFR recording contains this hot stack trace:

       62.54% (~34.937 s, 2811) - oracle.adfinternal.view.faces.bi.renderkit.common.ImageConverterUtils.getSVG(int, int, boolean, UIComponent, String, String, String)
       62.40% (~34.862 s, 2805) - oracle.adfinternal.view.faces.bi.renderkit.common.BaseImageConverterUtils$JDKScriptHelper.getSVG(int, int, boolean, BaseImageConverterUtils$Component, String, String, String, String)
       62.40% (~34.862 s, 2805) - oracle.adfinternal.view.faces.bi.renderkit.common.BaseImageConverterUtils$JDKScriptHelper.getSVG(int, int, boolean, BaseImageConverterUtils$Component, String, String, String, String, boolean)
       42.38% (~23.676 s, 1905) - oracle.adfinternal.view.faces.bi.renderkit.common.BaseImageConverterUtils$JDKScriptHelper.loadStaticJavascript(BaseImageConverterUtils$Component)
       41.67% (~23.279 s, 1873) - oracle.adfinternal.view.faces.bi.renderkit.common.BaseImageConverterUtils$JDKScriptHelper.readAllJS(LinkedHashSet)
       41.67% (~23.279 s, 1873) - javax.script.AbstractScriptEngine.eval(Reader)
       41.67% (~23.279 s, 1873) - com.sun.script.javascript.RhinoScriptEngine.eval(Reader, ScriptContext)
       41.67% (~23.279 s, 1873) - sun.org.mozilla.javascript.internal.Context.evaluateReader(Scriptable, Reader, String, int, Object)
       41.27% (~23.055 s, 1855) - sun.org.mozilla.javascript.internal.InterpretedFunction.exec(Context, Scriptable)
       41.27% (~23.055 s, 1855) - sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(Callable, Context, Scriptable, Scriptable, Object[])
       41.27% (~23.055 s, 1855) - com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(Callable, Context, Scriptable, Scriptable, Object[])
       41.27% (~23.055 s, 1855) - com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(Callable, Context, Scriptable, Scriptable, Object[])
       41.27% (~23.055 s, 1855) - sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(Callable, Context, Scriptable, Scriptable, Object[])
       41.27% (~23.055 s, 1855) - sun.org.mozilla.javascript.internal.InterpretedFunction.call(Context, Scriptable, Scriptable, Object[])
       41.27% (~23.055 s, 1855) - sun.org.mozilla.javascript.internal.Interpreter.interpret(InterpretedFunction, Context, Scriptable, Scriptable, Object[])
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.Interpreter.initFrame(Context, Scriptable, Scriptable, Object[], double[], int, int, InterpretedFunction, Interpreter$CallFrame, Interpreter$CallFrame)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.ScriptRuntime.initScript(NativeFunction, Scriptable, Context, Scriptable, boolean)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.ScriptableObject.hasProperty(Scriptable, String)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.ScriptableObject.getBase(Scriptable, String)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.ImporterTopLevel.has(String, Scriptable)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.ImporterTopLevel.getPackageProperty(String , Scriptable)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.NativeJavaPackage.getPkgProperty(String, Scriptable, boolean)
       41.20% (~23.018 s, 1852) - sun.org.mozilla.javascript.internal.Kit.classOrNull(ClassLoader, String)
       41.20% (~23.018 s, 1852) - weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(String)
       41.20% (~23.018 s, 1852) - weblogic.utils.classloaders.GenericClassLoader.loadClass(String)
       41.20% (~23.018 s, 1852) - java.lang.ClassLoader.loadClass(String)
       41.20% (~23.018 s, 1852) - java.lang.ClassLoader.loadClass(String, boolean)
       31.30% (~17.487 s, 1407) - java.lang.ClassLoader.loadClass(String, boolean)
       15.88% (~8.874 s, 714) - weblogic.utils.classloaders.FilteringClassLoader.loadClass(String, boolean)
       15.88% (~8.874 s, 714) - weblogic.utils.classloaders.FilteringClassLoader.findClass(String)
       15.88% (~8.874 s, 714) - weblogic.utils.classloaders.GenericClassLoader.loadClass(String)
       15.88% (~8.874 s, 714) - java.lang.ClassLoader.loadClass(String)
       15.88% (~8.874 s, 714) - java.lang.ClassLoader.loadClass(String, boolean)
       14.71% (~8.215 s, 661) - java.lang.ClassLoader.loadClass(String, boolean)
       13.04% (~7.283 s, 586) - sun.misc.Launcher$AppClassLoader.loadClass(String, boolean)
       13.04% (~7.283 s, 586) - java.lang.ClassLoader.loadClass(String, boolean)
       7.25% (~4.052 s, 326) - java.net.URLClassLoader.findClass(String)
       7.25% (~4.052 s, 326) - java.security.AccessController.doPrivileged(PrivilegedExceptionAction, AccessControlContext)
       6.54% (~3.654 s, 294) - java.net.URLClassLoader$1.run()
       6.54% (~3.654 s, 294) - java.net.URLClassLoader$1.run()
       5.98% (~3.343 s, 269) - java.lang.ClassNotFoundException.<init>(String)
       5.98% (~3.343 s, 269) - java.lang.ReflectiveOperationException.<init>(String, Throwable)
       5.98% (~3.343 s, 269) - java.lang.Exception.<init>(String, Throwable)
      5.98% (~3.343 s, 269) - java.lang.Throwable.<init>(String, Throwable)

        Attachments

          Activity

            People

            • Assignee:
              coffeys Sean Coffey
              Reporter:
              shadowbug Shadow Bug
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: