Many times I've seen some people tracked how the VM creates objects and how it performs optimization (eg: String concatenation). Unfortunately I can't find the correct command. Does anyone know?
Asked
Active
Viewed 47 times
0
-
jmc, jprofiler, yourkit – the8472 Jun 02 '16 at 12:49
1 Answers
0
The best tool for this kind f investigation is to use a profiler. I would start with Flight Recorder to record object allocations and CPU consumption and where this is happening.

Peter Lawrey
- 525,659
- 79
- 751
- 1,130