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
  • 181
  • 1
  • 4
  • 17

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
  • 513,304
  • 74
  • 731
  • 1,106