Memory & GC Flashcards
1
Q
How is virtual heap space divided in Java
A
2
Q
What difference between float and BigDecimal? How they store the data?
A
3
Q
Java object references
A
4
Q
What is deep copy of a Java object
A
5
Q
Disadvantages of setting heap size too high
A
6
Q
What are utilities for JVM monitoring? What is Jconsole?
A
7
Q
How to force GC be executed
A
8
Q
Garbage collection principles
A
9
Q
What are memory leaks
A
10
Q
Are memory leaks a problem in Java
A
11
Q
What is variable shadowing
A
12
Q
How would you monitor JVM
A
13
Q
How would you monitor how GC behaves during program execution
A
14
Q
Name few GC implementations (Serial, Parallel, ParallelOld, ConcarentMarkAndSweep) describe major differences
A
15
Q
Memory model in JVM (happens before, atomicity of memory reads and writes)
A