dotgnu-pnet
[Top][All Lists]
Advanced

[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 00:52:25 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

=================== BUG #6023: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6023&group_id=353

Changes by: Anonymous user        Date: Sat 10/18/2003 at 00:52

------------------ Additional Follow-up Comments ----------------------------
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 :)



=================== BUG #6023: FULL BUG SNAPSHOT ===================


Submitted by: leppie                  Project: DotGNU Portable.NET          
Submitted on: Fri 10/17/2003 at 14:46
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

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 00: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 14: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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]