aspose file tools*
The moose likes Performance and the fly likes Application hangs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Application hangs" Watch "Application hangs" New topic
Author

Application hangs

Ramaprasad Kolla
Greenhorn

Joined: Oct 22, 2008
Posts: 23

Hi,
We have an application that was developed using IBM Java v1.3.1. Recently all the user PCs were upgraded to Windows XP SP3 from Windows 2000. So respective changes were made in the application to work on XP machines. Now, with the application launched, when user switches between different screens and types fast, the application is freezing on the new XP machines. It works fine on Win 2k machines.

Can anyone hint me what would be problem?


Thanks,
Ramaprasad K
In Love with Java -@
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

So respective changes were made in the application to work on XP machines


A program written in java need not have any OS specific changes made to it.

Now, with the application launched, when user switches between different screens and types fast, the application is freezing on the new XP machines


What does the code do when a user types text ? Is this a swing app ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ramaprasad Kolla
Greenhorn

Joined: Oct 22, 2008
Posts: 23
Before the application launches we check the OS and based on that we load the respective OS library (.dll files) in to memory. Yes this is a swing based application. We are using IBM Java/JRE v1.3.1 on XP SP3 OS.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Run the swing application in a debugger. When the application hangs, check the call stack. This will help you determine which threads in the application are running and where they are waiting.

What functionality does the DLL provide ? Are you using it when the user types ? Were the DLLs recompiled when the OS move was made ?
Ramaprasad Kolla
Greenhorn

Joined: Oct 22, 2008
Posts: 23
yeah i need to check running the application in a debugger...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application hangs