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

8.0-controls-scrum-438: benchmarks Controls.ListView-Keyboard and Controls.TableViewView-Keyboard fail with ArrayIndexOutOfBoundsException

    XMLWordPrintable

Details

    Description

      Benchmarks Controls.ListView-Keyboard and Controls.TableViewView-Keyboard fails with
      java.lang.ArrayIndexOutOfBoundsException
      at com.sun.javafx.scene.control.skin.VirtualFlow$ArrayLinkedList.get(VirtualFlow.java:2391)
      at com.sun.javafx.scene.control.skin.VirtualFlow.getVisibleCell(VirtualFlow.java:1771)
      at com.sun.javafx.scene.control.skin.VirtualFlow.getCell(VirtualFlow.java:1545)
      at com.sun.javafx.scene.control.skin.VirtualFlow.getCellLength(VirtualFlow.java:1601)
      at com.sun.javafx.scene.control.skin.VirtualFlow.adjustByPixelAmount(VirtualFlow.java:2164)
      at com.sun.javafx.scene.control.skin.VirtualFlow.adjustPixels(VirtualFlow.java:1971)
      at com.sun.javafx.scene.control.skin.VirtualFlow.show(VirtualFlow.java:1877)
      at com.sun.javafx.scene.control.skin.VirtualFlow.show(VirtualFlow.java:1899)
      at com.sun.javafx.scene.control.skin.ListViewSkin.onSelectNextCell(ListViewSkin.java:395)
      at com.sun.javafx.scene.control.skin.ListViewSkin.access$700(ListViewSkin.java:51)
      at com.sun.javafx.scene.control.skin.ListViewSkin$10.run(ListViewSkin.java:134)
      at com.sun.javafx.scene.control.behavior.ListViewBehavior.selectNextRow(ListViewBehavior.java:596)
      at com.sun.javafx.scene.control.behavior.ListViewBehavior.callAction(ListViewBehavior.java:194)
      at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:181)
      at com.sun.javafx.scene.control.behavior.ListViewBehavior.callActionForEvent(ListViewBehavior.java:237)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:125)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:122)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:202)
      at javafx.scene.Scene$KeyHandler.process(Scene.java:3680)
      at javafx.scene.Scene$KeyHandler.access$2100(Scene.java:3639)
      at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1908)
      at controls.ListViewTest.process_keyboard(ListViewTest.java:367)
      at controls.ListViewTest.run(ListViewTest.java:320)
      at controls.ListViewTest$1.handle(ListViewTest.java:104)
      at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:361)
      at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:271)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:557)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:540)
      at com.sun.javafx.tk.quantum.QuantumToolkit$15.run(QuantumToolkit.java:425)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:94)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
      at java.lang.Thread.run(Thread.java:722)

      starting from build 8.0-controls-scrum-438.

      Steps to run Controls.ListView-Keyboard :
      > cd JFX_WS/tests/performance/Controls/
      > ant
      > java
             -cp "JFX_HOME/rt/lib/ext/jfxrt.jar;./dist/Controls.jar;../FXBenchmark/dist/FXBenchmark.jar;../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
             jrockit.bm.Main controls.bm.ListViewBenchmark -i 3 -wt 5 -tr 15 -cells 10000 -mode keyboard -keysPerInjection 100

      Steps to run Controls.TableView-Keyboard :
      > cd JFX_WS/tests/performance/Controls/
      > ant
      > java
             -cp "JFX_HOME/rt/lib/ext/jfxrt.jar;./dist/Controls.jar;../FXBenchmark/dist/FXBenchmark.jar;../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
             jrockit.bm.Main controls.bm.TreeViewBenchmark -i 3 -wt 5 -tr 15 -mode keyboard -cells 1000 50 -keysPerInjection 50




      Attachments

        Activity

          People

            jgiles Jonathan Giles
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: