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

java/awt/FullScreen/VramExaustionFSTest/VramExaustionFSTest.java fails on Vista

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b81
    • Introduced In Version:
      6
    • Resolved In Build:
      b86
    • CPU:
      x86
    • OS:
      windows_vista
    • Verification:
      Verified

      Backports

        Description

        JDK : Fails: Mustang b80
        Platform[s] : Fails On: Windows Vista (32-bit) build 5342
        Failing Test [s] : java/awt/FullScreen/VramExaustionFSTest/VramExaustionFSTest.java

            Test source location:
            =====================
        /net/cady/export/jdk1.6.0/promoted/all/b80/ws/j2se/test/java/awt/FullScreen/VramExaustionFSTest/VramExaustionFSTest.java

            jtr file location:
            ==================
        /net/cady/export6/results/mustang/b80/reg/regression-reg-winVista-32-2006-03-22-14-04-21-0472/workDir/java/awt/FullScreen/VramExaustionFSTest/VramExaustionFSTest.jtr

            How to reproduce:
            ====================
            - Set JAVA_HOME to Mustang b80 windows-i586
            - cd /net/cady/export/jdk1.6.0/promoted/all/b80/ws/j2se/test/java/awt/FullScreen/VramExaustionFSTest
            - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./VramExaustionFSTest.java

            Test output:
            ============
        ----------System.out:(4/116)----------
        Exausted vram. Created 10 images
        Testing VolatileImages
        Testing BufferStrategy
        Exausted vram. Created 10 images
        ----------System.err:(32/2112)----------
        java.lang.OutOfMemoryError: Java heap space
                at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
                at java.awt.image.Raster.createPackedRaster(Raster.java:458)
                at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
                at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:214)
                at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:241)
                at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:103)
                at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:66)
                at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:76)
                at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:87)
                at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:81)
                at sun.awt.windows.WComponentPeer.createVolatileImage(WComponentPeer.java:561)
                at java.awt.Component.createVolatileImage(Component.java:3183)
                at java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:3838)
                at java.awt.Component$BltBufferStrategy.<init>(Component.java:3783)
                at java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4039)
                at java.awt.Component.createBufferStrategy(Component.java:3429)
                at java.awt.Window.createBufferStrategy(Window.java:2800)
                at java.awt.Component.createBufferStrategy(Component.java:3367)
                at java.awt.Window.createBufferStrategy(Window.java:2775)
                at VramExaustionFSTest.main(VramExaustionFSTest.java:130)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:589)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
                at java.lang.Thread.run(Thread.java:618)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tdv Dmitri Trembovetski (Inactive)
                  Reporter:
                  jaleesunw James Lee (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: