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

Multiple applets in framed document load very slowly, regression in 1.8.0_60

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_66-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_66-ea-b02)
      Java HotSpot(TM) Client VM (build 25.66-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Internet Explorer 11


      A DESCRIPTION OF THE PROBLEM :
      When an HTML document containing multiple applets is loaded into a frame in Internet Explorer 11, the applets load sequentially and very slowly, approx. 15 seconds per applet, starting with Java 1.8.0_60.

      The problem has been seen in IE 10, but not in IE9 nor in Firefox.



      REGRESSION. Last worked in version 8u51

      ADDITIONAL REGRESSION INFORMATION:
      Fast version:
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

      Unacceptably slow versions:
      java version "1.8.0_60"
      Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
      Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing)

      java version "1.8.0_66-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_66-ea-b02)
      Java HotSpot(TM) Client VM (build 25.66-b02, mixed mode, sharing)



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      A stripped-down example is at http://www.phoenix.tc-ieee.org/020_Embedded_Software/larry/slowappletstartup860/html/index.html (but of course the real application is complex and too large to modify in any short time frame, such as before the October Java update).


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Two text boxes displayed by the two applets appear within a second or two.

      ACTUAL -
      The first applet sometimes loads immediately and sometimes loads slowly (in the full application - it seems to always be immediate in the stripped down example), but the second applet always takes ~15 seconds to load and the web browser page is not repainted until the second applet is loaded. In the full application, up to 6 applets load sequentially, taking ~15 seconds each.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No errors, just unacceptably slow performance.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Any applet is sufficient. Any simple HTML frame is sufficient. Full source for the stripped down example can be downloaded from the subdirectories at http://www.phoenix.tc-ieee.org/020_Embedded_Software/larry/slowappletstartup860/ .

      Page0.html:
      <HTML>
      <HEAD>
      <TITLE>Applet Slow-loading test</TITLE>
      </HEAD>
      <FRAMESET id="myframeset1">
      <FRAME id="myframe2" src="Page2.html" frameborder="1">
      </FRAME>
      </FRAMESET>
      <NOFRAMES>
         <BODY>
         No Frames. Need diferent browser.
         </BODY>
      </NOFRAMES>
      </HTML>

      (There is no Page 1.html)

      Page2.html
      <HTML>
         <HEAD>
            <TITLE>Page 2</TITLE>
            </TITLE>
         </HEAD>

         <BODY>
         <H1>Page 2</H1>
         <P>
         Navigation frame

         <P>
         Use Internet Explorer 11 and Java 1.8.0_60 or 1.8.0_66.
         <P>
         <a href="Page3.html">Click and watch for 30 seconds to see slow applet load in this frame</a>

         </BODY>
      </HTML>

      Page3.html:
      <HTML>
      <HEAD>
      <TITLE>My page title</TITLE>
      </HEAD>

      <BODY>

      <H1>Page 3</H1>


      <P>
      First paragraph

      <P>
      Applet 1
      <P>
      <object name = "myapplet"
              type = "application/x-java-applet"
              height = "120"
              width = "240"
              codebase = "http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab">
              <param name = "code" value = "myapplet.class">
              <param name = "codebase" value = "../applets">
              <PARAM name="archive" value="myapplet.jar">
      </object>

      <BR>

      <P>
      Applet 2
      <P>
      <object name = "myapplet2"
              type = "application/x-java-applet"
              height = "120"
              width = "240"
              codebase = "http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab">
              <param name = "code" value = "myapplet2.class">
              <param name = "codebase" value = "../applets">
              <PARAM name="archive" value="myapplet.jar">
      </object>

      <P>
      Last paragraph.


      <P>
      End of page.

      </BODY>
      </HTML>

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None found to date (without re-writing the <FRAME>s, which is not an option in the immediate future due to complexity of the full application.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcherkas Mikhail Cherkasov (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: