JDK-6176614 : Performance problems with JPDA
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-10-09
  • Updated: 2012-10-02
  • Resolved: 2012-10-02
Some performance issues to be investigated:

1.  In earlier JDKs, the performance was> noticeably better when suspending   
    only one thread. 
    What is the difference in suspending/resuming all thread and one thread in JDK 1.5?
    How costly is suspending/resuming before and after method invocation?

2.  In some special cases 'ThreadReference.frameCount'
    takes too much time. 12 calls take up to 8 seconds on 2.6GHz Pentium IV.

3. MethodEntryRequest and MethodExitRequest unreasonably slow down whole
   performance. We use them to track calls to method in a particular class
   or to any overriding methods. But it seems the performance slows down
   for any method calls, not even to that particular class.
###@###.### 10/9/04 00:55 GMT

EVALUATION To be investigated later.