bugDotGNU Portable.NET - Bugs: bug #18711, jit coder throws...

 
 

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

bug #18711: jit coder throws OutOfMemoryException on very large method

Submitted by:  Radek Polak <radekp>
Submitted on:  Sat 06 Jan 2007 11:00:36 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 06 Jan 2007 12:52:29 PM UTC, comment #2:

After discussion or IRC it appeared that it's not really bug. The method is just too long in this case. Maximal method size is by default in libjit set to 128k and can be increased (JIT_CACHE_PAGE_SIZE in libjit/jit/jit-cache.c).

Another solution is to split the long method in two pars.

Radek Polak <radekp>
Project Member
Sat 06 Jan 2007 11:40:38 AM UTC, comment #1:

Throws an OutOfMemory exception with Method too big message from libjit with inlining enabled and optimize locals disabled on my box.
All other configurations run fine.

Any suggestions how to fix this ?

Klaus Treichel <ktreichel>
Project Administrator
Sat 06 Jan 2007 11:00:36 AM UTC, original submission:
Radek Polak <radekp>
Project Member

 

Attached Files
file #11684:  large_method.tar.gz added by radekp (5KiB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ktreichel (Posted a comment)
  • -unavailable- added by radekp (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Jan 2007 12:52:29 PM UTCradekpStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Sat 06 Jan 2007 11:00:36 AM UTCradekpAttached File-=>Added large_method.tar.gz, #11684

    Back to the top


    Powered by Savane 3.1-cleanup1