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

performance regression in jdk6 (vs jdk5)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u21
    • Fix Version/s: 6-pool
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows

      Description

      Application is deployed using java plugin. Problem is isolated to application
      (Discovery Plus) opening a worksheet. With JRE6, this can take 60 to 120
      seconds With with JRE5, it takes 2-5 seconds.
      Once the worksheet is open, performance of all other functionality in the
      application is fine, that is not discernible degradation.

      Steps
      1. Launch Discoverer Plus applet
      2. Click "browse" button to open and existing workbook (query)
      3. Search for specific workbook
      4. Wait for the workbook to load (this is the slow part)
      5. Once it loaded, hit control-break in the DOS screen.
      6. Exit Discoverer Plus applet (file exit)
      7. Close the Browser

      See comments for more details

      Logon to cores2-da-sparc-2-a

      /cores_data/local/bin/acl grant 72887860


      /cores/72887860/HPROF_FILES/20100729_hprof.jdk6.0_15.txt:

      JDK5 top 10 cpu users:

      CPU SAMPLES BEGIN (total = 62449) Thu Jul 29 13:25:21 2010
      rank self accum count trace method
      1 23.03% 23.03% 14382 300232 sun.plugin2.os.windows.Windows.ReadFile0
      2 22.92% 45.95% 14312 300335 sun.awt.windows.WToolkit.eventLoop
      3 22.62% 68.56% 14123 301036 com.sun.deploy.ui.WindowsJavaTrayIcon.mainLoop
      4 15.59% 84.16% 9737 301238 java.io.FileInputStream.readBytes
      5 7.99% 92.15% 4991 301706 sun.plugin2.applet.Applet2ClassLoader.getResourceAsStream
      6 1.19% 93.33% 741 301349 java.net.SocketInputStream.socketRead0
      7 0.89% 94.23% 558 301515 java.lang.Thread.yield
      8 0.43% 94.66% 270 301285 java.lang.ClassLoader.defineClass1
      9 0.35% 95.01% 217 301834 sun.awt.windows.WDialogPeer.endModal
      10 0.21% 95.22% 133 300005 java.lang.ClassLoader.findBootstrapClass


      /cores/72887860/HPROF_FILES/20100728_hprof.jdk5-1.txt:

      JDK6 top 10 cpu users:

      CPU SAMPLES BEGIN (total = 34185) Wed Jul 28 07:24:28 2010
      rank self accum count trace method
      1 81.85% 81.85% 27979 300207 sun.awt.windows.WToolkit.eventLoop
      2 6.20% 88.04% 2119 301075 java.net.SocketInputStream.socketRead0
      3 1.95% 89.99% 665 301533 java.lang.Thread.yield
      4 1.51% 91.50% 517 301264 java.util.zip.ZipFile.getEntry
      5 0.58% 92.08% 199 301343 java.util.zip.ZipFile.read
      6 0.52% 92.61% 179 300001 java.lang.ClassLoader.findBootstrapClass
      7 0.46% 93.07% 157 300483 sun.nio.ch.FileDispatcher.read0
      8 0.36% 93.43% 123 300889 sun.awt.windows.WGlobalCursorManager.findHeavyweightUnderCursor
      9 0.35% 93.78% 120 301342 java.lang.ClassLoader.defineClass1
      10 0.24% 94.02% 82 301541 com.sun.deploy.net.cookie.IExplorerCookieHandler.getCookieInfo

      There are additional jvisualvm snapshots collected earlier with JRE6

      six profile snapshots in 7z format in:
      /cores2/72887860/PROFILE_SNAPSHOTS/

        Attachments

          Activity

            People

            • Assignee:
              robm Robert Mckenna
              Reporter:
              lkchow Lawrence Chow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: