1

I am bit newbie to java profiling and i need to diagnose dynamically created class reloading issue at runtime as it seems class isn't being reloaded. How could i get to know when class get reloaded through some profiling tool?

For problem i am trying to find solution is to my question below:

Jackson deserialisation/TypeReference for dynamically loaded pojo class

Kimchy
  • 501
  • 8
  • 24

1 Answers1

0

JProfiler has a class loading probe that you can use for that purpose. In the events view of the class loader probe you can filter for the class name of interest and get the stack trace that causes the reload. To see the stack trace, CPU recording has to be active.

enter image description here

Disclaimer: My company develops JProfiler.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102
  • Thanks Ingo. That seems to be paid tool although but trial version should work as well. I also found youtube link to your tutorial : https://www.youtube.com/watch?v=e35X3HRad-g I would check today. – Kimchy Aug 14 '17 at 04:09