This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,224 Users
  • 2,269,776 Discussions


Java Desktop application Not Responding when returning focus

User_N9CNB Member Posts: 2 Green Ribbon
edited Oct 26, 2021 9:03PM in Java Desktop Applications

On a long serving Java app running on Windows 10 and on JRE 8 the user base started reporting a performance issue in the last couple of months. (32 bit)

I have found out that there is a pattern when the app is left to go to another program then there is a lag upon return to the Java app.

It feels like the JRE goes into some sort of sleep mode when losing focus and then needs some time to pick up again. In task manager the corresponding line - Java (TM) Platform SE binary - show Power Usage - High or Very High at that moment. There is no Thread doing any business logic at that time so it is related to returning the focus.

Is anybody aware of such a situation?

thank you,