-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0, 1.4.0
-
None
-
beta
-
sparc
-
solaris_2.6, solaris_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2036857 | 1.4.0 | Dmitri Trembovetski | P3 | Resolved | Fixed | beta |
This is a performance regression from 1.2.2 to 1.3 that we just tracked down to
the actual routine in question. We had noticed longer start up times on Solaris, but attributed that to other factors (HotSpot).
On JDK 1.2.2 on Solaris, the GraphicsDevice.getConfigurations method takes
on the order of 4 milliseconds (0.004 seconds) to run. On Kestrel and
Merlin, it takes over 8 seconds on a 360 Mhz dual-processor Ultra 60 / Elite3D.
The problem occurs on Windows, but is not as noticeable--probably because only
a single GraphicsConfiguration is returned on windows versus 12 on Solaris.
The majority of the time seems to be in creating the X11GraphicsConfig objects.
kevin.rushforth@Eng 2000-09-07
To reproduce this, run the attached program.
kelvin.chung@eng 2000-09-08
Under window2000, GraphicsDevice.getBestConfiguration()
hangs the machine in some Java3D test.
I put some debug statement and it didn't get into
the callback
In GraphicsConfigTemplate3D
public GraphicsConfiguration
getBestConfiguration(GraphicsConfiguration[] gc)
This can be reproduce under the DirectX version of Java3D
using the test
/home/tlchung/j3d/programs/examples/GeometryByReference>java ImageComponentByReferenceTest
and when all the library .jar & .dll is install under jre/
If I set PATH or CLASSPATH install of install the library
under jre than this bug can't reliably reproduce.
Also this bug only happen when it run as application using java.
If I use appletviewer or inside Netscape the program will not
hang.
No such problem under jdk1.2.2
the actual routine in question. We had noticed longer start up times on Solaris, but attributed that to other factors (HotSpot).
On JDK 1.2.2 on Solaris, the GraphicsDevice.getConfigurations method takes
on the order of 4 milliseconds (0.004 seconds) to run. On Kestrel and
Merlin, it takes over 8 seconds on a 360 Mhz dual-processor Ultra 60 / Elite3D.
The problem occurs on Windows, but is not as noticeable--probably because only
a single GraphicsConfiguration is returned on windows versus 12 on Solaris.
The majority of the time seems to be in creating the X11GraphicsConfig objects.
kevin.rushforth@Eng 2000-09-07
To reproduce this, run the attached program.
kelvin.chung@eng 2000-09-08
Under window2000, GraphicsDevice.getBestConfiguration()
hangs the machine in some Java3D test.
I put some debug statement and it didn't get into
the callback
In GraphicsConfigTemplate3D
public GraphicsConfiguration
getBestConfiguration(GraphicsConfiguration[] gc)
This can be reproduce under the DirectX version of Java3D
using the test
/home/tlchung/j3d/programs/examples/GeometryByReference>java ImageComponentByReferenceTest
and when all the library .jar & .dll is install under jre/
If I set PATH or CLASSPATH install of install the library
under jre than this bug can't reliably reproduce.
Also this bug only happen when it run as application using java.
If I use appletviewer or inside Netscape the program will not
hang.
No such problem under jdk1.2.2
- backported by
-
JDK-2036857 GraphicsDevice.getConfigurations is very slow
- Resolved
- duplicates
-
JDK-4373692 JDesktopPane paint slow in Solaris than WIndows platform
- Closed
- relates to
-
JDK-6477756 GraphicsDevice.getConfigurations() is slow taking 3 or more seconds
- Closed