Граф коммитов

1686 Коммитов

Автор SHA1 Сообщение Дата
jfrijters e417a92a37 - Moved class literal TypeWrapper -> Type step into expression emitter.
- Fixed Class.desiredAssertionStatus() instrinsic to use the RemoveAsserts flag from the right class loader.
2009-03-02 06:31:55 +00:00
jfrijters f4991c7bd4 Made Mono compilation workarounds conditional on __MonoCS__. 2009-03-02 06:30:13 +00:00
jfrijters f171bfb917 New snapshot version. 2009-03-02 04:53:16 +00:00
jfrijters 05d0c7a5c6 Fixed bug introduced in recent changes. When the first entry on the stack contains a partial expression, it cannot be popped. 2009-03-02 04:52:05 +00:00
jfrijters f7f3ad1c6c Added hack to fail fast if we encounter (a particular kind of) corrupt assembly generated by some obfuscator. 2009-03-02 04:51:05 +00:00
jfrijters f80fc0203a Disable compiler warning. 2009-02-27 06:43:00 +00:00
jfrijters 536a99cc98 Made the reading of the ikvm.exports resource lazy. 2009-02-27 06:33:19 +00:00
jfrijters 7a9aa4d619 It turns out that constructing an AssemblyName is very expensive, so we simply use the string names. 2009-02-27 06:28:50 +00:00
jfrijters 4291ce372d - Added support for multi level stack tracking to CodeEmitter.
- Made most Pop emitting lazy to enable optimizing them away (together with corresponding push).
- Made loading class literal lazy, to enable optimizing them away when they aren't used (e.g. because an atomic intrinsic).
- Made Class.desiredAssertionStatus() into an intrinsic, to be able to optimize it away when -removeassertions is used.
2009-02-27 06:17:06 +00:00
jfrijters 8224903a75 Added a helper method to invoke AccessController.doPrivileged() and pass in explicit CallerID. 2009-02-27 06:05:22 +00:00
jfrijters 830f9aedf0 Reverted previous optimization that I'm not sure about anymore. The startup overhead of using a ConcurrentHashMap here may be too great. 2009-02-27 05:57:35 +00:00
jfrijters 3bc4241221 Fixed first-pass compilation. 2009-02-27 05:56:22 +00:00
jfrijters b54fbae544 Removed unnecessary field initialization and registerNative call. 2009-02-27 05:53:27 +00:00
jfrijters 7041ebc248 Added optimization to reflective instantiation to use Activator.CreateInstance() when that is almost as fast as our LCG based implementation (which has a far higher initial cost). 2009-02-25 05:02:35 +00:00
jfrijters 1bab941b8f Workaround for apparent Mono (2.2 and 2.4 preview 2 tested) bug in Interlocked.Exchange. Doesn't repro in isolation (but I didn't try very hard). 2009-02-25 05:00:53 +00:00
jfrijters e228cf5ed0 Added caching to speed up Object.getClass(). 2009-02-24 06:11:54 +00:00
jfrijters b1bae501cb Added caching to GetWrapperFromDotNetType. 2009-02-24 06:11:17 +00:00
jfrijters 6fd6fc2f3b Use double checked locking to avoid taking the lock in the common case when accessing TypeWrapper.ClassObject. 2009-02-24 04:42:20 +00:00
jfrijters 95c07f04c3 Added explicit null check (to avoid Type.GetTypeHandle form showing up in the stack trace) and don't do the optimization if we can't prove that either object isn't a ghost array. 2009-02-23 05:18:44 +00:00
jfrijters 1125b3ab54 Make sure we get the right Type.GetTypeHandle and RuntimeTypeHandle.get_Value methods and cache them. 2009-02-23 05:17:21 +00:00
smallsql 291c094215 handling the first debuggee event (ThreadStart) 2009-02-22 09:09:41 +00:00
jfrijters 8ffc7143ee Intrisified two uses of Object.getClass(). 2009-02-22 08:19:30 +00:00
jfrijters d014ba2dff Add wildcard exports for assemblies referenced by non-main assembly in shared class loader group. 2009-02-22 08:18:37 +00:00
smallsql 059b9f361a add Start of the Debugger 2009-02-21 09:35:40 +00:00
smallsql 571916c6af Implement Capabilities Packet 2009-02-21 09:27:04 +00:00
smallsql a68ca21bd2 First type and method handling 2009-02-20 22:20:41 +00:00
jfrijters 712d83cd28 *** empty log message *** 2009-02-20 08:21:47 +00:00
jfrijters c018a130a2 New snapshot version. 2009-02-20 05:01:46 +00:00
jfrijters 9803e4805b Use "ikvm.exports" map for "wildcard exports" (i.e. assemblies that are referenced and whose types are available thru the assembly class loader). 2009-02-19 08:12:05 +00:00
jfrijters a7e9899995 Guard against -sharedclassloader and -target:module being combined. 2009-02-19 08:07:26 +00:00
jfrijters 423cf661b2 Don't overwrite the thread context class loader if it has already been set when sun.misc.Launcher initializes. 2009-02-19 06:47:29 +00:00
smallsql c83ca353dc Use MTA2STA to prevent thread problems 2009-02-18 21:39:49 +00:00
jfrijters b236ec07f1 Moved Y correction to Graphics2D float overload of drawString, so that it too positions the text (approx.) correctly. 2009-02-17 09:38:31 +00:00
jfrijters e754c19e75 Added support for setting the JPEG compression level and for custom quantization (but not huffman) tables. 2009-02-17 08:14:56 +00:00
jfrijters 46a4f6c9fb Set foreground/background colors for Graphics created from Image correctly. 2009-02-17 08:12:48 +00:00
jfrijters 68577d6313 Removed JIT perf workaround that is no longer necessary as of .NET 2.0 SP2 (aka .NET 3.5 SP1). 2009-02-16 06:02:02 +00:00
jfrijters e60dd1bff2 Made 32 bit floating point math more compatible by rounding to 32 bit after every operation. 2009-02-16 05:59:48 +00:00
jfrijters 84ce7cc3e6 - Replaced all Double.longBitsToDouble() constants with compile time constants.
- Optimized sin/cos by moving temporary array allocation outside of fast path.
- Optimized __ieee754_rem_pio2 by doing temporary array allocation only when needed.
- Fix bug in copysign().
- Changed copysign/setLO/setHI/__HI/__LO to use doubleToRawLongBits instead of doubleToLongBits.
2009-02-16 05:19:12 +00:00
jfrijters 843e78ccbe Use JMath functions (where possible and necessary) instead of .NET Math functions. 2009-02-16 05:13:49 +00:00
smallsql 6c10bc0ee4 execute first suspend command 2009-02-15 20:57:01 +00:00
smallsql 24595c988f parse parameter suspend 2009-02-15 20:56:31 +00:00
smallsql 7ac71c317f Doku 2009-02-15 10:51:25 +00:00
smallsql 470b7f2b99 parse also the new syntax with agentlib 2009-02-15 10:50:10 +00:00
smallsql 3c3d9463c2 EventRequest completed 2009-02-14 22:03:22 +00:00
jfrijters d78b7ace3d - Imported JMath.java.
- Updated license/copyright information.
2009-02-13 08:53:40 +00:00
jfrijters 9aef71917b Updated for modularized class libraries. 2009-02-13 07:23:49 +00:00
jfrijters 1779ec7b66 Hacked support for generated rt.jar from (new shared class loader) core class library assemblies. 2009-02-13 07:23:05 +00:00
jfrijters 6deb8b0a58 Removed UTF-8 BOM. 2009-02-13 05:34:07 +00:00
smallsql 87d5a3deb6 next step 2009-02-12 20:49:23 +00:00
jfrijters c3f7d1f2a9 As of .NET 2.0 SP2 (aka .NET 3.5 SP1) the x86 JIT now properly aligns the stack when doing a conv.r8, so we can now use that instead of using our hack. 2009-02-12 07:59:17 +00:00