harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2889) [jdktools][jdwp] group identical Breakpoint, Step, MethodEntry, MethodExit events
Date Tue, 03 Jul 2007 14:22:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509883
] 

Ivan Popov commented on HARMONY-2889:
-------------------------------------

This issue causes the following JDWP stress tests to hang:

  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT011.EventTest011
  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT012.EventTest012
  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT013.EventTest013
  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT014.EventTest014
  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT015.EventTest015
  org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT016.EventTest016

These tests expects that all requested events are received in a single event set and then
resume debuggee VM. However, currently events are generated in separate event sets. Test does
not resume debuggee after receiving event set with only one event, so debuggee remains suspended
and test hangs.


> [jdktools][jdwp] group identical Breakpoint, Step, MethodEntry, MethodExit events
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-2889
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2889
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Minor
>
> According to JDWP spec Breakpoint, Step, MethodEntry, MethodExit events for the same
location can be grouped into one event set. Without this feature user have to resume thread
twice when, for example, stepping over a line with breakpoint.
> Current implementation of JDWP agent groups only identical events, it does not group
different events into one event set. Implementing grouping for different JDWP events based
on JVMTI callbacks requires rather sophisticated algorithm.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message