RFR: 8080084 : java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC

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

RFR: 8080084 : java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC

Phil Race
A test fix .. to catch OOME from StringBuilder.append() as well
as the API that is under test.

I don't think there's anything specific to G1 here, it could
have happened with other collectors.

bug : https://bugs.openjdk.java.net/browse/JDK-8080084
webrev: http://cr.openjdk.java.net/~prr/8080084/

-phil.
Reply | Threaded
Open this post in threaded view
|

Re: RFR: 8080084 : java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC

Semyon Sadetsky
+1

--Semyon


On 10/09/2017 11:09 AM, Phil Race wrote:

> A test fix .. to catch OOME from StringBuilder.append() as well
> as the API that is under test.
>
> I don't think there's anything specific to G1 here, it could
> have happened with other collectors.
>
> bug : https://bugs.openjdk.java.net/browse/JDK-8080084
> webrev: http://cr.openjdk.java.net/~prr/8080084/
>
> -phil.

Reply | Threaded
Open this post in threaded view
|

Re: RFR: 8080084 : java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC

Prahalad kumar Narayanan
In reply to this post by Phil Race
Hello Phil

The code changes are appropriate.  +1

Thanks
Have a good day

Prahalad N.

-----Original Message-----
From: Phil Race
Sent: Monday, October 09, 2017 11:39 PM
To: 2d-dev
Subject: [OpenJDK 2D-Dev] RFR: 8080084 : java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC

A test fix .. to catch OOME from StringBuilder.append() as well as the API that is under test.

I don't think there's anything specific to G1 here, it could have happened with other collectors.

bug : https://bugs.openjdk.java.net/browse/JDK-8080084
webrev: http://cr.openjdk.java.net/~prr/8080084/

-phil.