[OpenJDK 2D-Dev] AAShapePipe concurrency & memory waste
Sergey.Bylokhov at oracle.com
Wed Apr 10 19:19:21 UTC 2013
I am not an expert here but just my 50 cents.
This optimization shall take place only if it is really hotspot. But if
it is a really hotspot - probably it would be better to remove these
array/object allocation at all and use plane bytes?
I see that some methods which take it as argument doesn't use them. And
most of the time we pass AATileGenerator and abox to the same methods,
so it could be merged?
Also I suggest to use jmh for java micrbenchmarks.
So your test will be:
Best regards, Sergey.
More information about the 2d-dev