On 12 April 2013 18:21, Manipulator <volcz@kth.se> wrote:
Please correct me if I'm wrong.
It's not the allocation itself that is the problem it's that it will trigger the GC to stop the world at some point.

It's just another source of garbage. Which means this function of off limits beneath a routine that's disabled collection, for instance. There are lots of reasons to avoid making unnecessary garbage.