Issue Details (XML | Word | Printable)

Key: RVM-13
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Peter Donald
Reporter: Peter Donald
Votes: 0
Watchers: 0
Operations

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

Convert Core Runtime to use ObjectReference rather than raw Object

Created: 02/Jun/07 11:29 PM   Updated: 11/Apr/08 09:24 AM
Component/s: Runtime, Runtime: Object Model
Affects Version/s: None
Fix Version/s: 1000

Time Tracking:
Not Specified


 Description  « Hide
The RVM currently passes around raw Object instances and then converts them to ObjectReference instances when passing the object to MMTk. It would be nicer if the entire runtime worked with ObjectReference instances rather than raw Object instances. The conversion between Object and ObjectReference should also be made explicit throughout the entire RVM by using ObjectReference.fromObject() and ObjectReference.toObject().. And rather than assigning ObjectReference to null it should be set to ObjectReference.nullReference()

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Peter Donald added a comment - 02/Jun/07 11:31 PM
Initial experimentation demonstrated a "cleaner" feeling codebase in almost all circumstances with the exception of areas that caused excessively verbose boxing/unboxing such as; VM_Reflection, TIB manipulation and in some of the array manipulation code.