bugDotGNU Portable.NET - Bugs: bug #6023, Execution engine fails on large...

 
 

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

bug #6023: Execution engine fails on large method size

Submitted by:  Llewellyn Pritchard <leppie>
Submitted on:  Fri 17 Oct 2003 06:46:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 18 Oct 2003 05:26:18 AM UTC, comment #2:

The -C option to ilrun can be used to alter the size of
a method cache page. e.g. "ilrun -C 256 blah.exe" will set
the cache page to 256k rather than the default of 128k.

Rhys Weatherley <rweather>
Project Administrator
Sat 18 Oct 2003 04:52:24 AM UTC, comment #1:

http://savannah.gnu.org/cgi-bin/viewcvs/checkout/dotgnu-pnet/pnet/engine/method_cache.c?rev=1.11&content-type=text/plain

Should provide the answer ...

#define IL_CONFIG_CACHE_PAGE_SIZE (128 * 1024)

ie 131k ... and this method is ~96k ?

A method requires an approximate 4x size of the IL code to decode (maybe even more needed for the unroller, this is simply for the CVM).

However whether we change in the "pnet/profiles/full" file
or this header file is left as an exercise to the reader :)

Anonymous
Fri 17 Oct 2003 06:46:13 PM UTC, original submission:

The pnet ee fails to execute with attached file. The same assembly executes correctly on the MS ee.

Err:

$ ilrun bruteforceadd2.exe
Test::DoSumLooping - method is too big to be converted (99610 bytes)
Uncaught exception: System.Security.VerificationException: Could not verify the code
at Test.Main(String[])

Llewellyn Pritchard <leppie>
Project Member

 

Attached Files
file #730:  bruteforceadd2.cs added by leppie (146KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 18 Oct 2003 05:26:18 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1