I have some code that I would like to be performant.
I rewrote that code to not allocate objects (as much as possible).
Now, when I run that code in Eclipse and I hit the suspend button the debugger always shows the same line of code. (A line without breakpoint.) (In all threads.)
(I would think, if my code is performant that the debugger would stop at random places in the code.)
As soon as I hit the suspend button, what does the debugger still do until it shows me the "currently" executing code?
How does the debugger work?
Does the debugger stops at the slowest line of code?
I don't know whether this is relevant but I use Graal.