Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jp2launcher - CPU spike between Java 6 and Java 8

ndegroffAug 14 2017 — edited Aug 14 2017

Environment

ComponentValue
JRE6 VersionJava 1.6.30
JRE8 VersionJava 1.8.91
# of Servers in Load Balance4
Windows OSWindows 2008 Server R2 Standard
Cores per server4
RAM per server24 GB
Application Share TechCitrix XenApp
How applications launched"C:\Program Files (x86)\Java\jre8\bin\javaws.exe" http://host/app/app_citrix.jnlp

Detail

Community,

I recently joined a team that launches 2 java applications using the JNLP Web launcher.  These applications were launched from a Citrix cluster spread across 4 Windows 2008 servers.  We attempted an upgrade from JRE6 to JRE8.  Running JRE6, the 4 Windows servers could handle 20 - 30 individual user application sessions per server and average about 60 - 80% CPU usage per server.

However, when we upgraded to JRE8, we suddenly saw the CPU spike to 100% after only 6 user sessions per box which caused massive performance degradation.

What we noticed

We noticed that with JRE6, javaws.exe would launch javaw.exe, and then future CPU usage stayed low throughout the application usage.  However, with JRE8,  javaws.exe would launch jp2launcher.exe, and the CPU would remain high (around 20 - 25%) while the individual was using the application.  We're taking the next steps to see if there are individual libraries in these applications that cause the high CPU usage, but wanted to check with the community to see if this changed behavior using jp2launcher.exe would have unnecessary overhead that javaw.exe does not.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2017
Added on Aug 14 2017
0 comments
4,700 views