RVM
  1. RVM
  2. RVM-841

Make it possible to query the compiler to direct optimization

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: Compiler: Optimizing
    • Labels:
      None
    • Number of attachments :
      0

      Description

      To optimize some methods as they are inlined it may be helpful to know 1) if the method is being inlined, and 2) which parameters (if any) are constant.

      I have a patch to add these which is well contained, so I thought it would be worth committing.

      The original target for this was arraycopy, but in order to get better array copy we also need to add new instructions and I currently do not have the time to do the required analysis/implementation.

        Activity

        Hide
        Daniel Frampton added a comment -

        Committed in 15738.

        Show
        Daniel Frampton added a comment - Committed in 15738.
        Daniel Frampton made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        David Grove made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Daniel Frampton
            Reporter:
            Daniel Frampton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: