security - Applets loading very slow on Java 8u 45 with stack overflow error while it works fine with Java 7 -


i getting stackoverflow error on java console while opening applets on network on java version 8 build 1.8.0_45-b15 . applet gets loaded takes around 8 minutes , same works fine in of java 7 versions on network .

can please .. stacktrace follows .

java.lang.stackoverflowerror @ java.security.accesscontroller.doprivileged(native method) @ sun.security.provider.policyfile.getpermissions(unknown source) @ sun.security.provider.policyfile.getpermissions(unknown source) @ sun.security.provider.policyfile.implies(unknown source) @ java.security.protectiondomain.implies(unknown source) @ java.security.accesscontrolcontext.checkpermission(u 

i have similar problem , finding.

we using applet in firefox. current testing versions:

  • firefox: 46.0.1
  • java: jre1.8.0_51 (32bit)

i used jfr (java flight recorder) , oracle mission control analyse long hang (about 5s) on startup of our ui.

my finding far method permissions.implies() takes extremely long unknown reason.

my analysis showed 2 long blocked stacks 2 different threads both hanging long (about 2s & 4s) in method.

here 1 call stack jmc isolated: (for reference: 4.340.000.123ns = 4.34s)

stack trace count   duration (ns) java.security.permissions.implies(permission)   1   4.340.000.123 sun.security.provider.policyfile.implies(protectiondomain, permission)  1   4.340.000.123 java.security.protectiondomain.implies(permission)  1   4.340.000.123 java.security.accesscontrolcontext.checkpermission(permission)  1   4.340.000.123 java.security.accesscontroller.checkpermission(permission)  1   4.340.000.123 java.lang.securitymanager.checkpermission(permission)   1   4.340.000.123 sun.plugin2.applet.awtappletsecuritymanager.checkpermission(permission) 1   4.340.000.123 java.lang.securitymanager.hasallpermission()    1   4.340.000.123 java.lang.securitymanager.currentclassloader()  1   4.340.000.123 sun.plugin2.applet.awtappletsecuritymanager.getcurrentclassloader() 1   4.340.000.123 sun.plugin2.applet.awtappletsecuritymanager.getthreadgroup()    1   4.340.000.123 java.lang.thread.init(threadgroup, runnable, string, long, accesscontrolcontext)    1   4.340.000.123 java.lang.thread.init(threadgroup, runnable, string, long)  1   4.340.000.123 java.lang.thread.<init>(string) 1   4.340.000.123 myclass2.<init>()   1   4.340.000.123 myclass.treatnew(protocol)  1   4.340.000.123 myclass.treatnewdecode(string, int) 1   4.340.000.123 myclass.run()   1   4.340.000.123 java.lang.thread.run()  1   4.340.000.123 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -