This test finds direct oop addresses from a running JVM and then tries to inspect them. This can fail if a GC happens and the oop moves.
Comments
Closing this as NAI.
10-03-2020
[~dlong] I thought, the SA is using the /proc interface which make the target process frozen.
There is no big difference in SA supporting debugging corefile's vs live processes.
It is one of the SA features and differentiates it from normal debuggers.
Please, see the chapter "4. Serviceability Agent" here:
https://books.google.com/books?id=1XTlCwAAQBAJ&pg=SA2-PA45&lpg=SA2-PA45&dq=serviceability+agent+frozen+process&source=bl&ots=uQr9pGQv4D&sig=ACfU3U0NXngyvtJZq9BG47uHZn41eY7vpA&hl=en&sa=X&ved=2ahUKEwj289PX0pDoAhXdPH0KHYJuBOYQ6AEwAHoECAkQAQ#v=onepage&q=serviceability%20agent%20frozen%20process&f=false