InterviewSolution
Saved Bookmarks
| 1. |
How to get prints of shared object memory maps or heap memory maps for a given process?(a) jmap(b) memorymap(c) memorypath(d) jvmmapI have been asked this question in unit test.Origin of the question is Heap and Garbage Collection in division Classes and Methods of Java |
|
Answer» RIGHT CHOICE is (a) JMAP Explanation: We can use jmap as jmap -J-d64 -heap PID. |
|