jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • RVM
  • RVM-13

Convert Core Runtime to use ObjectReference rather than raw Object

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1000
  • Component/s: Runtime, Runtime: Object Model
  • Labels:
    None

Description

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()

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
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.

Show
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.

People

  • Assignee:
    Peter Donald
    Reporter:
    Peter Donald
Vote (0)
Watch (0)

Dates

  • Created:
    02/Jun/07 11:29 PM
    Updated:
    11/Apr/08 9:24 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.