On Sun, Jun 28, 2009 at 11:54 PM, Erkki Lindpere<
erkki@...> wrote:
> Also, I'm counting Vector2 allocations (in a companion object field) and
> turning on -XX:+DoEscapeAnalysis does not remove a single allocation.
As in you have the ctor increment a companion object field?
-XX:+DoEscapeAnalysis shouldn't have any effect on that count whether
it manages to inline objects into the stack or not.
Cheers,
Miles
--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://www.chuusai.com/http://twitter.com/milessabin