Sammy Guergachi
Sammy Guergachi

Reputation: 2006

Swing applications are slower on Java 11+ Linux

When upgrading a Java 8 Swing application to run on Java 11 we noticed the startup and UI interaction were roughly 2x slower.

This is when running using XServer 1.15.1, Linux kernel 3.17.

Upvotes: 1

Views: 134

Answers (1)

Sammy Guergachi
Sammy Guergachi

Reputation: 2006

After doing a lot of research and running profiling we discovered that Java 11 somehow has calls to XServer that are 2x slower than the same Java 8 calls.

The solution was to upgrade XServer to 1.18+

Upvotes: 3

Related Questions