History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RVM-438
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Steve Blackburn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RVM

Barriers within critical VM code

Created: 13/Apr/08 12:10 AM   Updated: 13/Apr/08 12:57 AM
Component/s: Runtime
Affects Version/s: None
Fix Version/s: 1000

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
One of the problems of a lack of good VM/app separation is the danger of infinite regress in some critical code sections. One mechanism for this is barriers.

As an example, a write barrier may trigger a slow path allocation request (because the write buffer was exhausted). That request may call through to the Map class. If the code in the map class includes write barriers, it is possible that the write barrier will need space and call through to the Map class again. Not sure if that actually arises in practice, but I have seen an allocation request trigger a write barrier, trigger an allocation request, sending the VM into livelock on boot. This only happened when using an object remembering barrier, which may be more demanding.

For now we have a rather horrible hack which bypasses barriers. See r14114.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve Blackburn - 13/Apr/08 12:57 AM
codehaus is insanely slow, making my browser very unhappy :-/