@SuppressWarnings("unchecked")
    private T[] newStack(Class<T> type, int size) {
        return (T[]) Array.newInstance(type, size);
    }
@author netspider
@author Woonduk Kang(emeroad)
@author jaehong.kim
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultCallStack.java