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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0
    • fx2.0
    • javafx
    • web

      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 ;)

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

              Created:
              Updated:
              Resolved:
              Imported: