Hi, Laurent.
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.
http://openjdk.java.net/projects/code-tools/jmh
So your test will be:
http://cr.openjdk.java.net/~serb/AAShapePipeBenchmark.java



--
Best regards, Sergey.

Reply via email to