Bug 4895 - updateHit gets called for each task
Summary: updateHit gets called for each task
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2229
  Show dependency treegraph
 
Reported: 2007-08-03 22:28 UTC by Petr Machata
Modified: 2007-10-29 14:31 UTC (History)
0 users

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Machata 2007-08-03 22:28:11 UTC
updateHit for code observers should only be triggered for task the observer was
requested for
Comment 1 Mark Wielaard 2007-10-29 14:31:51 UTC
    frysk-core/frysk/proc/ChangeLog
    2007-10-29  Mark Wielaard  <mwielaard@redhat.com>
    
           * Observable.java (observers): Now a HashMap.
           (add): Keep count.
           (delete): Likewise.
           (contains): New method.
           (iterator): Use HashMap.keySet().
           (removeAllObservers): Likewise.
           * Task.java (notifyCodeBreakpoint): Check whether observer is
           contained in the codeObservers of this Task.
           * TestTaskObserverCode.java (testMultiTaskUpdate): New test.
           (testMultiTaskUpdateUnblockDelete): Likewise.
           (requestDummyRun): New variant that takes a Task.