8246203: Segmentation fault in verification due to stack overflow with -XX:+VerifyIterativeGVN

Replace the recursive verification algorithm with an iterative one to avoid a stack overflow for large graphs.

Reviewed-by: kvn, thartmann
4 files changed