patchDotGNU Portable.NET - Patches: patch #7237, Win 64 support + plugable code...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7237: Win 64 support + plugable code memory allocator

Submitted by:  Patrick van Beem <pvbeem>
Submitted on:  Fri 09 Jul 2010 07:12:24 AM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 09 Jul 2010 07:12:24 AM UTC, original submission:  
  • Added support for win64. Exceptions are not working and the stack trace feature is not included yet as it seems not working, since it's not picked up by the debugger(related with the exceptions...).
  • Added register aliases (for example for argument registers) to make it easier to write generic code.
  • Added support for a plug-able memory allocator for code memory. It enables developers to support freeing of code memory, something the build-in memory manager does not.
  • Added jit_function_free(), which allows you to free a compiled jit function with all associated resources. Because of this, the way float constants are stored / initialized has been changed. The 'new' method might consume a few extra bytes but is easier to manage and is cleaner in my opinion.

When you compile with RED_BLACK_DEBUG defined, some windows specific debug statements are included, so currently it's only useful under mingw. It can dump the red-black tree in a format that's compatible with graphviz (

Patrick van Beem <pvbeem>


Attached Files
file #20929:  mem2.diff added by pvbeem (119KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pvbeem (Submitted the item)
  • -email is unavailable- added by pvbeem

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-09 pvbeem Attached File- => Added mem2.diff, #20929
        Carbon-Copy- => Added

    Back to the top

    Powered by Savane 3.5