Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.0
-
Fix Version/s: JRuby 0.9.8
-
Component/s: Projects
-
Labels:None
-
Number of attachments :
Description
As of 0.9.0 and current TRUNK, JRuby still uses the same iter stack/block stack method of managing blocks that C Ruby does. This method, however, has considerable overhead. For making a call, there are as many as three pushes and three pops on each stack, when all that's necessary is passing the block to the method that actually needs it.
The most promising way to fix this would be to pass the block directly to the frame in which it will be called. Some of this work has already started on the cnutter branch.
This task should track the reduction and eventual elimination of the Iter and Block stacks.
Activity
Thomas E Enebo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Thomas E Enebo [ enebo ] | Charles Oliver Nutter [ headius ] |
Charles Oliver Nutter
made changes -
| Component/s | Projects [ 12310 ] |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Charles Oliver Nutter
made changes -
| Affects Version/s | JRuby 0.9.0 [ 12840 ] |
Thomas E Enebo
made changes -
| Fix Version/s | JRuby 0.9.3 [ 13069 ] | |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Recent work has been able to eliminate the blockstack. Next targets: