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

MediaSystemTest benchmarks throws "IllegalStateException: The view has already been closed" with j2d pipeline

    XMLWordPrintable

    Details

      Description

      MediaSystemTest benchmarks throws "IllegalStateException: The view has already been closed" when running with j2d pipeline.
      The exception seems to be thrown after warmup phase is completed:
      # Unit: mediasystemtest.bm.MediaSystemBenchmark
      # Starting run at: Mon May 30 23:05:38 PDT 2011
      # Running a timed run.
      # Duration (per iteration): 180s
      # Warmup: 15s
      # Iterations: 3
      # Threads: 1
      *** Fallback to Prism SW pipeline
      JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
      <Doing warmup>
      <Running testFXBenchmark (15s)>
      fileName: file:///C:/aurora/benchmarks2-resources/media/big_bunny_vp6_1280x720_3710kb_128kb_30p.flv
      numOfPlayers: 1
      visual bounds - Rectangle2D [minX = 0.0, minY=0.0, maxX=1280.0, maxY=990.0, width=1280.0, height=990.0]
      FXBenchmarkGlue: warming up for 15000 ms
      startWarmup()
      FXBenchmarkGlue: warmup complete
      stopWarmup()
      java.lang.IllegalStateException: The view has already been closed
      at com.sun.glass.ui.View.checkNotClosed(View.java:138)
      at com.sun.glass.ui.View.uploadPixels(View.java:363)
      at com.sun.prism.j2d.J2DPresentable$Glass$1.run(J2DPresentable.java:84)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
      at java.lang.Thread.run(Unknown Source)


      Steps to run benchmark:
      > download and unzip
         http://jfx.sfbay.sun.com/hudson/job/presidio/171/label=windows-i586-14/artifact/artifacts/sdk/*zip*/sdk.zip
         http://jfx.sfbay.sun.com/hudson/job/presidio/171/label=windows-i586-14/artifact/artifacts/perf/*zip*/perf.zip

      > java -client -Xmx256m -Dprism.order=j2d -Djava.library.path="./perf/lib/win32"
        -cp "./rt/lib/jfxrt.jar;./perf/
        jrockit.bm.Main mediasystemtest.bm.MediaSystemBenchmark -i 3 -wt 15 -tr 180 -players 1
        -file file:///C:/media/big_bunny_vp6_320x180_360kb_64kb_24p.flv

        media file can be downloaded from http://reavers.us.oracle.com/MediaSystemTest/

      The issue is reproduced with latest promoted fx2.0-b30 (hudson build #171)
      and is observed with both hardware and software pipelines.
      The video is not really shown, just black box.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: