Why does the debugged program slow down so much when using method entry debugging?
The short answer is that execution runs through the interpreter when method entries are set. I don’t think there is anyway around this… This used to be the case for all code running in debug mode but it was enhanced in 1.4… now HotSpot works for ‘full-speed’ debugging except in the case of method entries … Read more