Campbell Ritchie (59) [Avatar] Offline
Page 181, ¾ way down, says that creating an array has the overhead of instantiation and garbage collection (=GC). Is there any GC overhead in this instance? Would the array would be created on the heap or on the stack (escape analysis)? If on the stack, will there be any GC required?