The following line appears in the allocations pane of eclipse:
Alloc Order Allocation Size Allocated Class
509 12 java.lang.Integer
It references this line of java code:
MyInteger++;
I changed it around a little bit, but it still causes an allocation.
MyInteger=MyInteger+1;
MyInteger=MyInteger+MyIntegerIncrementor;
Why do these lines of code cause an allocation?