0

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?

user2363971
  • 191
  • 1
  • 4
  • 19

1 Answers1

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