Hi,

> - Accessors can be inlined if they are final, but these aren't.  As it turns
> out, SG2D itself is final and so I believe that is enough for them to be
> inlined, but I tend to make methods final as well to underscore that they
> are intended to be inlined, and also in case we eventually decide to make
> the class non-final.

The client-compiler can inline virtual methods since 1.4, however it
inserts a conditional to trap if the target is not of the expected
type - so setting stuff final at least can't hurt ;)
I really hope tiered compiulation will make it into Java7.

- Clemens

Reply via email to