Skip to content

Commit

Permalink
Full senders chain for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmontt committed Dec 17, 2024
1 parent 9f0c3ba commit a60d29a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/IllimaniProfiler/IllEphemeron.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,16 @@ IllEphemeron >> sendersCallStack [
{ #category : 'accessing' }
IllEphemeron >> sendersCallStack: aContext [

| sender |
senders := Array new: 10.
| sender i n |
n := 200.
senders := Array new: n.
i := 1.
sender := aContext.
1 to: 10 by: 2 do: [ :i |
sender ifNil: [ ^ self ].
[ sender isNil or: [ i > n ] ] whileFalse: [
senders at: i put: sender method.
senders at: i + 1 put: sender pc - 1.
sender := sender sender ]
sender := sender sender.
i := i + 2 ]
]

{ #category : 'accessing' }
Expand Down

0 comments on commit a60d29a

Please sign in to comment.