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

VolatileImage and Image performance slow on Linux

XMLWordPrintable

    • 2d
    • beta3
    • x86
    • linux_2.4


      ###@###.### 2001-08-15

      J2SE Version (please include all output from java -version flag):
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b72)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b72, mixed mode)


      Does this problem occur on J2SE 1.3? Yes / No (pick one)
      No.


      Operating System Configuration Information (be specific):
      RedHat 7.1, Kernel 2.4.3, glibc 2.2.2, XFree 4.0.3


      Hardware Configuration Information (be specific):
      Athlon 1GHz, 256 MB RAM, Ati Xpert 98 graphics adapter


      Bug Description:

      The performace of drawImage on Image and VolatileImage objects in JDK 1.4 is
      worse than the performance of drawImage on Image objects in JDK 1.3.1 (on
      Linux using a local X server).


      Steps to Reproduce (be specific):

      Run the attached Java program(VolatileImageTest.java &
      ImageTest.java) on JDK 1.3.1 and on JDK 1.4 and look at
      the output.

      Average times for blitting a 600x600 image in milliseconds on Linux (local X
      server):

      Image JDK 1.3.1: 6-7 ms
      Image JDK 1.4cap: 17-19 ms
      VolatileImage JDK 1.4cap: 17-19 ms

      Not be able to measure the performance on a comparable Win2K machine using
      this test (too fast).

            tdv Dmitri Trembovetski (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: