[Mono-bugs] [Bug 81816][Min] Changed - Better InvalidCastException description details

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 3 06:24:05 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by marek.safar at seznam.cz.


--- shadow/81816	2007-07-03 05:58:40.000000000 -0400
+++ shadow/81816.tmp.4564	2007-07-03 06:24:05.000000000 -0400
@@ -65,6 +65,14 @@
 costly wrt register allocation and code quality). This will also
 require additional arch-specific trampolines. We're likely talking
 about 10-30 additional bytes of generated code per cast, depending on
 the architecture. Of the additional info it provides, the target type
 is always trivially seen by checking the file/line reported in the
 trace anyway.
+------- Additional Comments From marek.safar at seznam.cz  2007-07-03 06:24 -------
+Thanks for the comment. I'll have to spend some time to look into mono
+JIT details.
+But I still don't know why 10-30 bytes, you should already have the
+type details ready (on stack, in registry). But it depends how we
+handle casts.

More information about the mono-bugs mailing list