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

GUIMark2.Vector WebNode test in sw(j2d) mode throws IllegalStateException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      to run the benchmark with j2d you can use run-vector-bm ant target, just add
                  <jvmarg value="-Djavafx.toolkit=prism" />
                  <jvmarg value="-Dprism.order=j2d" />
      to the target.
      Sometimes it throws:
      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$2$1.run(WinApplication.java:54)
      at java.lang.Thread.run(Unknown Source)

      When I run the benchmark locally I've got this exception only twice, but http://aurora-ds.russia.sun.com:9500/runs/3886.FX2-graphics-scrum-42/.workload.log.825 shows that it can be thrown for every iteration,
      so it looks like it is a thread race :( in single-threaded app ;)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              son Oleg Sukhodolsky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: