[OpenJDK 2D-Dev] Review request for bug 100053

Roman Kennke Roman.Kennke at Sun.COM
Fri Oct 2 13:49:15 UTC 2009


Hi Jim,

I think you are right. I think the idea is to keep the array around to
avoid massive load on the GC. And if the array needs to be grown (i.e.
very rarely), it gets shrinked back to default size. So I would go with:

>   Shouldn't it be "if (array != null && array.length > DEFAULT)"?

The updated webrev is here:

http://cr.openjdk.java.net/~rkennke/100053/webrev.02/

I tested this with the testcase and Java2Demo and had no problems with
this.

Ok now?

Thanks, Roman





More information about the 2d-dev mailing list