[Mono-bugs] [Bug 44229][Nor] Changed - mcs does not set beforefieldinit
Wed, 24 Dec 2003 01:14:06 -0500 (EST)
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 email@example.com.
--- shadow/44229 2003-09-22 00:16:29.000000000 -0400
+++ shadow/44229.tmp.13804 2003-12-24 01:14:06.000000000 -0500
@@ -1,16 +1,16 @@
@@ -108,6 +108,22 @@
------- Additional Comments From firstname.lastname@example.org 2003-09-22 00:16 -------
Put this back on the radar.
+------- Additional Comments From email@example.com 2003-12-24 01:14 -------
+Ok, so it is pretty clear that CSC sets beforefieldinit iff there is
+no explicit static ctor.
+It is pretty easy to make MCS act like this. One weird thing I did
+notice is that with the test case you give, without aot'ing it, the
+CSC version is actually *slower* than the mcs version (the only
+differnce in the IL is the beforefieldinit). When I passed -O=all,
+however, the perf was the same.
+With the AOT, CSC's version was faster than MCS's (though both were
+much slower than the JIT'd version).
+Also, this will require some extensive testing, so we need to do it
+when we are all back from vacation.