[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #6023] Execution engine fails on large method siz
From: |
nobody |
Subject: |
[Pnet-developers] [bug #6023] Execution engine fails on large method size |
Date: |
Sat, 18 Oct 2003 01:26:19 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
=================== BUG #6023: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6023&group_id=353
Changes by: Rhys Weatherley <address@hidden>
Date: Sat 10/18/2003 at 05:26 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Wont Fix
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
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.
=================== BUG #6023: FULL BUG SNAPSHOT ===================
Submitted by: leppie Project: DotGNU Portable.NET
Submitted on: Fri 10/17/2003 at 18:46
Category: None Severity: 5 - Major
Bug Group: None Resolution: Wont Fix
Assigned to: None Status: Closed
Summary: Execution engine fails on large method size
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[])
Follow-up Comments
*******************
-------------------------------------------------------
Date: Sat 10/18/2003 at 05:26 By: rweather
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.
-------------------------------------------------------
Date: Sat 10/18/2003 at 04:52 By: None
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 :)
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Fri 10/17/2003 at 18:46 Name: bruteforceadd2.cs Size: 145KB By: leppie
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6023&bug_file_id=723
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6023&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/