[Mono-devel-list] [CAS] New patch for stack modifiers

Sebastien Pouliot sebastien at ximian.com
Fri Dec 17 11:10:33 EST 2004


Hello,

The only change in the metadata patch (apart from being a more current
diff) is that it add runtimesecurityframe_class in mono_defaults.

The changes in mini are to use Paolo's code for the stack walk and split
the cases where a single frame is required ([NonCas]LinkDemand[Choice]
and [NonCas]InheritanceDemand[Choice]) and where a full stack is
required ([NonCas]Demand[Choice]). This will reduce the number of
managed/unmanaged transitions required to evaluate a full demand as the
permissionsets will be cached, in the managed side, after their first
use.

Also note that I've reverted to the original code for the debugging
stack walk (StackTrace/StackFrame). Yes it needs to share the same new
code, but it would be better (history wise) to do this in a separate
patch.

-- 
Sebastien Pouliot  <sebastien at ximian.com>
blog: http://pages.infinit.net/ctech/poupou.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata.20041217.diff
Type: text/x-patch
Size: 7520 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041217/c2c39374/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini.20041217.diff
Type: text/x-patch
Size: 14855 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041217/c2c39374/attachment-0001.bin 


More information about the Mono-devel-list mailing list