While reviewing jvm memory gc, deep recursion causes a stack overflow. Which action fixes it, and which check proves it worked?
Answer options
- A. Unregister listeners on cleanup
- B. Replace unbounded recursion
- C. Verify stack depth stays bounded
- D. Reduce temporary allocation volume