While reviewing jvm memory gc, listeners accumulate after sessions close. Which action fixes it, and which check proves it worked?
Answer options
- A. Verify old sessions become collectible
- B. Bound the cache and remove references
- C. Replace unbounded recursion
- D. Unregister listeners on cleanup