<Swing Dev> Swing performance issue on JDK 9

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

<Swing Dev> Swing performance issue on JDK 9

Alan Snyder-3
I have a Swing program that works fine on JDK 8 but runs like a dog [unusably slowly] on JDK 9. My investigation finds the problem in text layout (e.g. FlowView.layout), which is a whopping 20–25 times slower on JDK 9.

Any idea what might have changed to cause this slowdown?

Could it be the result of the new String implementation?

  Alan

Reply | Threaded
Open this post in threaded view
|

Re: <Swing Dev> Swing performance issue on JDK 9

Semyon Sadetsky
Hi Alan,

Do you have a test to reproduce the issue or can you describe the steps
to reveal it?

--Semyon


On 10/21/2017 10:17 AM, Alan Snyder wrote:
> I have a Swing program that works fine on JDK 8 but runs like a dog [unusably slowly] on JDK 9. My investigation finds the problem in text layout (e.g. FlowView.layout), which is a whopping 20–25 times slower on JDK 9.
>
> Any idea what might have changed to cause this slowdown?
>
> Could it be the result of the new String implementation?
>
>    Alan
>

Reply | Threaded
Open this post in threaded view
|

Re: <Swing Dev> Swing performance issue on JDK 9

Semyon Sadetsky
JBS bug: https://bugs.openjdk.java.net/browse/JDK-8189809

--Semyon


On 10/23/2017 08:08 AM, Semyon Sadetsky wrote:

> Hi Alan,
>
> Do you have a test to reproduce the issue or can you describe the
> steps to reveal it?
>
> --Semyon
>
>
> On 10/21/2017 10:17 AM, Alan Snyder wrote:
>> I have a Swing program that works fine on JDK 8 but runs like a dog
>> [unusably slowly] on JDK 9. My investigation finds the problem in
>> text layout (e.g. FlowView.layout), which is a whopping 20–25 times
>> slower on JDK 9.
>>
>> Any idea what might have changed to cause this slowdown?
>>
>> Could it be the result of the new String implementation?
>>
>>    Alan
>>
>