Atlassian Interview Question

Java memory model and how GC works?