Stack and CopyOnWriteArrayList