EPAM Systems interview question

Java memory model and GC details.