mono.git
7 years ago[runtime] Free rgctx_lazy_fetch_trampoline info
Alexander Kyte [Thu, 7 Jul 2016 16:32:07 +0000 (12:32 -0400)]
[runtime] Free rgctx_lazy_fetch_trampoline info

7 years ago[runtime] Free temporary aot buffer
Alexander Kyte [Thu, 7 Jul 2016 16:29:04 +0000 (12:29 -0400)]
[runtime] Free temporary aot buffer

7 years ago[runtime] Free info_offsets used by emit_extra_methods
Alexander Kyte [Thu, 7 Jul 2016 16:26:39 +0000 (12:26 -0400)]
[runtime] Free info_offsets used by emit_extra_methods

7 years ago[runtime] Free last buf used by emit_extra_methods
Alexander Kyte [Thu, 7 Jul 2016 16:25:20 +0000 (12:25 -0400)]
[runtime] Free last buf used by emit_extra_methods

7 years ago[runtime] Free temporary table
Alexander Kyte [Thu, 7 Jul 2016 15:42:19 +0000 (11:42 -0400)]
[runtime] Free temporary table

7 years ago[runtime] Free patches list
Alexander Kyte [Wed, 6 Jul 2016 22:56:22 +0000 (18:56 -0400)]
[runtime] Free patches list

7 years ago[runtime] Free temporary trampoline emitter buffer
Alexander Kyte [Wed, 6 Jul 2016 22:55:16 +0000 (18:55 -0400)]
[runtime] Free temporary trampoline emitter buffer

7 years ago[runtime] Free temporary class name table
Alexander Kyte [Wed, 6 Jul 2016 22:53:47 +0000 (18:53 -0400)]
[runtime] Free temporary class name table

7 years ago[runtime] Free leaked buffer
Alexander Kyte [Wed, 6 Jul 2016 22:51:33 +0000 (18:51 -0400)]
[runtime] Free leaked buffer

7 years ago[runtime] Free temporary pointer array
Alexander Kyte [Wed, 6 Jul 2016 22:49:32 +0000 (18:49 -0400)]
[runtime] Free temporary pointer array

7 years ago[runtime] Free temporary attr structure
Alexander Kyte [Wed, 6 Jul 2016 22:46:29 +0000 (18:46 -0400)]
[runtime] Free temporary attr structure

7 years ago[runtime] Don't leak a runtime invoke method builder
Alexander Kyte [Wed, 6 Jul 2016 22:39:26 +0000 (18:39 -0400)]
[runtime] Don't leak a runtime invoke method builder

7 years ago[runtime] Don't leak short-lived header
Alexander Kyte [Wed, 6 Jul 2016 22:25:19 +0000 (18:25 -0400)]
[runtime] Don't leak short-lived header

7 years ago[runtime] Free leaked temporary parse
Alexander Kyte [Wed, 6 Jul 2016 22:19:17 +0000 (18:19 -0400)]
[runtime] Free leaked temporary parse

7 years ago[runtime] Prevent leak by copying list with no other references
Alexander Kyte [Wed, 6 Jul 2016 22:09:28 +0000 (18:09 -0400)]
[runtime] Prevent leak by copying list with no other references

7 years ago[runtime] Free vars in linear_scan2
Alexander Kyte [Thu, 7 Jul 2016 19:17:31 +0000 (15:17 -0400)]
[runtime] Free vars in linear_scan2

7 years ago[runtime] Free register info
Alexander Kyte [Wed, 6 Jul 2016 21:24:00 +0000 (17:24 -0400)]
[runtime] Free register info

7 years agoModify the configuration loader so that (#2758)
Bennjamin Blast [Thu, 7 Jul 2016 18:47:33 +0000 (14:47 -0400)]
Modify the configuration loader so that (#2758)

- A single dll can be mapped to different targets based on function name.
- The dllentry target can be omitted if it is the same as the source.

This change is released under the MIT license.

7 years agoFixed stack overflow issue in DuplexClientRuntimeChannel (#2172)
alenl2 [Thu, 7 Jul 2016 18:19:22 +0000 (20:19 +0200)]
Fixed stack overflow issue in DuplexClientRuntimeChannel (#2172)

7 years agoFix crash in mono mini exceptions.exe regression test on win x64.
lateralusX [Thu, 7 Jul 2016 15:24:49 +0000 (17:24 +0200)]
Fix crash in mono mini exceptions.exe regression test on win x64.

Exceptions.exe regression test started to fail on win x64 release builds.
Turns out that the Visual Studio C compiler picked a different optimization
for release builds (due to a change of library type that uses a different default optimization level)
using RSI register in native code calling into JIT:ed code. If the JIT:ed code used reflection
and exceptions, that triggers InternalInvoke and lmf_filter, the code only
stored System V x64 non-volatile registers in the unwind information. On Windows,
RSI is also a non-volatile register (RDI as well) that needs to be preserved and
since the code didn’t include those in the unwind information, the correct RSI value
was not restored during the unwind. Once the control was handled back to the native
code it dereferenced RSI (that was set to 0) and crashed.

The fix is to make sure we store all non-volatile registers on x64 Windows
when we save an lmf so the unwind code can restore them when unwinding through
the lmf.

7 years agoMerge pull request #3244 from henricm/fix-for-synchronization-attribute
Marek Safar [Thu, 7 Jul 2016 12:25:59 +0000 (14:25 +0200)]
Merge pull request #3244 from henricm/fix-for-synchronization-attribute

Fix for lock release in SynchronizationAttribute

7 years ago[llvm] Enable atomic load/store support when using llvm master.
Zoltan Varga [Thu, 7 Jul 2016 08:41:54 +0000 (04:41 -0400)]
[llvm] Enable atomic load/store support when using llvm 

7 years ago[llvm] Use a custom memory managed for llvm master too, the default one allocates...
Zoltan Varga [Thu, 7 Jul 2016 07:23:21 +0000 (03:23 -0400)]
[llvm] Use a custom memory managed for llvm master too, the default one allocates everything into a separate memory page.

7 years agoFix for lock release in SynchronizationAttribute
Henric Müller [Wed, 6 Jul 2016 14:28:58 +0000 (16:28 +0200)]
Fix for lock release in SynchronizationAttribute

* Making sure ownerThread is not nulled unless lockCount is zero.
* Fixed so Locked property checks lockCount when determining if locked
   instead of _locked field which was never set.
* Added test for setting Locked property.
* Added test capturing the original issue.

7 years ago[llvm] Fix some problems when using llvm master. Check the base pointer for null...
Zoltan Varga [Thu, 7 Jul 2016 04:55:33 +0000 (00:55 -0400)]
[llvm] Fix some problems when using llvm  Check the base pointer for null instead of the derived one in load/store opcodes. Avoid trying to name parameters representing empty structs, they have no llvm parameter. Avoid trying to patch calls from llvm code, they are made indirectly.

7 years agoMerge pull request #3239 from xmcclure/default-tarjan
Andi McClure [Wed, 6 Jul 2016 21:26:45 +0000 (17:26 -0400)]
Merge pull request #3239 from xmcclure/default-tarjan

Switch Android GC bridge default from new-bridge to tarjan-bridge

7 years ago[runtime] Free patches array in aot compiler
Alexander Kyte [Wed, 6 Jul 2016 21:21:44 +0000 (17:21 -0400)]
[runtime] Free patches array in aot compiler

7 years ago[runtime] Move mempools up, don't free methodheaders pointing into it after, etc
Alexander Kyte [Thu, 23 Jun 2016 20:46:55 +0000 (16:46 -0400)]
[runtime] Move mempools up, don't free methodheaders pointing into it after, etc

7 years ago[runtime] Don't leak method header (significant leak size) in aot compiler
Alexander Kyte [Thu, 23 Jun 2016 19:25:23 +0000 (15:25 -0400)]
[runtime] Don't leak method header (significant leak size) in aot compiler

7 years ago[runtime] Defer destruction of MonoCompile until patches have been emitted
Alexander Kyte [Thu, 23 Jun 2016 16:23:29 +0000 (12:23 -0400)]
[runtime] Defer destruction of MonoCompile until patches have been emitted

7 years ago[runtime] Always free method header in method_to_ir
Alexander Kyte [Thu, 23 Jun 2016 19:07:18 +0000 (15:07 -0400)]
[runtime] Always free method header in method_to_ir

7 years ago[runtime] Clean up method_to_callers table for llvm
Alexander Kyte [Thu, 23 Jun 2016 19:05:39 +0000 (15:05 -0400)]
[runtime] Clean up method_to_callers table for llvm

7 years ago[runtime] Don't leak temporary jump info struct
Alexander Kyte [Thu, 23 Jun 2016 18:27:02 +0000 (14:27 -0400)]
[runtime] Don't leak temporary jump info struct

This represented 93k leaked allocations when aoting mscorlib

7 years ago[runtime] Prevent leaking temporary
Alexander Kyte [Thu, 23 Jun 2016 18:25:08 +0000 (14:25 -0400)]
[runtime] Prevent leaking temporary

7 years ago[runtime] Free LLVM failure message
Alexander Kyte [Thu, 23 Jun 2016 18:17:39 +0000 (14:17 -0400)]
[runtime] Free LLVM failure message

7 years ago[runtime] Fix minor leak
Alexander Kyte [Thu, 23 Jun 2016 18:17:06 +0000 (14:17 -0400)]
[runtime] Fix minor leak

7 years ago[runtime] Don't leak LLVM IR Builders
Alexander Kyte [Thu, 23 Jun 2016 21:19:30 +0000 (17:19 -0400)]
[runtime] Don't leak LLVM IR Builders

7 years agoMerge pull request #3243 from mono/netstandard
Marek Safar [Wed, 6 Jul 2016 19:35:02 +0000 (21:35 +0200)]
Merge pull request #3243 from mono/netstandard

[Facades] netstandard 1.6 updates

7 years ago[System] Bump timeout in TimerTest a bit
Alexander Köplinger [Wed, 6 Jul 2016 19:32:10 +0000 (21:32 +0200)]
[System] Bump timeout in TimerTest a bit

I saw this failing occasionally on iOS on Wrench:

```
[FAIL] TimerTest.AutoResetEventFalseStopsFiringElapsed :   #2 wrong elapsedCount
  Expected: 1
  But was:  0

at MonoTests.System.Timers.TimerTest.AutoResetEventFalseStopsFiringElapsed () [0x00091] in /Users/builder/data/lanes/1411/b07703ed/source/xamarin-macios/external/mono/mcs/class/System/Test/System.Timers/TimerTest.cs:327
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/1411/b07703ed/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:309
```

7 years ago[Facades] netstandard 1.6 updates
Marek Safar [Tue, 5 Jul 2016 22:51:46 +0000 (00:51 +0200)]
[Facades] netstandard 1.6 updates

7 years ago[llvm] Fix JIT support with llvm master.
Zoltan Varga [Wed, 6 Jul 2016 07:35:56 +0000 (03:35 -0400)]
[llvm] Fix JIT support with llvm master.

7 years agoMultiple fixes for Windows x86 p/invoke test failures. (#3186)
Johan Lorensson [Wed, 6 Jul 2016 04:32:08 +0000 (06:32 +0200)]
Multiple fixes for Windows x86 p/invoke test failures.  (#3186)

* Fix for non GCC win x86 calling convention when passing empty structs over pinvoke.

Port of https://github.com/mono/mono/pull/3085 to Winwdows x86 fixing failures
in pinvoke2 tests:

test_0_marshal_empty_struct

* Fix for incorrect implementation of small struct (single float/double) on Windows x86.

Failure in pinvoke3 test_0_marshal_small_struct_delegate9 is caused by incorrect
implemented small struct ABI on Windows x86.

Windows x86 ABI for returning structs of size 4 or 8 bytes (regardless of type)
dictates that values are passed in EDX:EAX register pairs,
https://msdn.microsoft.com/en-us/library/984x0h58.aspx.
This is different compared to for example float or double return types
(not in struct) that will be returned in ST(0),
https://msdn.microsoft.com/en-us/library/ha59cbfz.aspx.

Fix disables the alternative to do special handling of structs with 1 float or double
and make sure same logic is always applied to all small structs regardless type
as dictated by Windows x86 ABI.

* mono_test_marshal_delegate_ref_delegate uses incorrect calling convention.

mono_test_marshal_delegate_ref_delegate called by pinvoke3::test_55_marshal_delegate_ref_delegate
uses incorrect calling convention. Mono assumes delegates to be stdcall but
current definitions will be cdecl, this will cause an incorrect stack pointer
on architectures where cdecl and stdcall are different (Windows x86). Test fails
with "corrupt" stack pointer on Windows x86.

* Smaller adjustment based on feedback.

* Changed boolean struct member to bit field (on both x86 and x64)
* Changed compare code style from 0 == x to x == 0 to comply with coding standard.

7 years agoAdded support to build mono runtime as a static library. (#3231)
Johan Lorensson [Wed, 6 Jul 2016 04:28:02 +0000 (06:28 +0200)]
Added support to build mono runtime as a static library. (#3231)

libmono will use static library when building its dynamic library. This gives
the option to build binaries that could link the static version of mono runtime
or use the dynamic version of the same library. The default build binaries still
link against the dynamic version of the runtime.

7 years ago[llvm] Fix aot when using llvm master.
Zoltan Varga [Wed, 6 Jul 2016 04:19:45 +0000 (00:19 -0400)]
[llvm] Fix aot when using llvm master.

7 years agoMerge pull request #3242 from alexanderkyte/fix_docs
Alexander Köplinger [Wed, 6 Jul 2016 00:08:26 +0000 (02:08 +0200)]
Merge pull request #3242 from alexanderkyte/fix_docs

[runtime] Remove extraneous fi in docs build printing

7 years ago[runtime] Remove extraneous fi in docs build printing
Alexander Kyte [Wed, 6 Jul 2016 00:07:39 +0000 (20:07 -0400)]
[runtime] Remove extraneous fi in docs build printing

7 years agoMerge pull request #3091 from alexanderkyte/mobile_static_fix_mcs_tests
Alexander Köplinger [Tue, 5 Jul 2016 22:12:21 +0000 (00:12 +0200)]
Merge pull request #3091 from alexanderkyte/mobile_static_fix_mcs_tests

[mobile_static] Allow mcs/class tests to run to completion

7 years ago[bcl] Fix a random failure in a DataView test which happened because DataViewListener...
Zoltan Varga [Tue, 5 Jul 2016 20:30:21 +0000 (16:30 -0400)]
[bcl] Fix a random failure in a DataView test which happened because DataViewListener keeps a weak reference on the DataView and stops raising events if the view is GCd. Fixes #41035.

7 years agoSwitch Android GC bridge default from new-bridge to tarjan-bridge
Andi McClure [Tue, 5 Jul 2016 17:11:36 +0000 (13:11 -0400)]
Switch Android GC bridge default from new-bridge to tarjan-bridge

7 years ago[mobile_static] Skip aot-ing ilasm
Alexander Kyte [Fri, 24 Jun 2016 21:58:45 +0000 (17:58 -0400)]
[mobile_static] Skip aot-ing ilasm

7 years agoMerge pull request #3236 from kumpera/coreclr-testsuite-fixes-2
Alexander Köplinger [Tue, 5 Jul 2016 14:27:14 +0000 (16:27 +0200)]
Merge pull request #3236 from kumpera/coreclr-testsuite-fixes-2

Reduce coreclr test failures by 10. A bunch of fixes and a bunch of disables.

7 years ago[profiler] Actually link against libmono where necessary (#3232)
Aleksey Kliger (λgeek) [Tue, 5 Jul 2016 14:21:55 +0000 (10:21 -0400)]
[profiler] Actually link against libmono where necessary (#3232)

Previously $(LIBMONO) was empty and bitcode targets (which set
-no-undefined) had linker errors.

7 years agoMerge pull request #3226 from esdrubal/soap_headers_fix
Marcos Henrich [Tue, 5 Jul 2016 10:31:14 +0000 (11:31 +0100)]
Merge pull request #3226 from esdrubal/soap_headers_fix

[System.Web.Services] Fixes bad XmlMapping.Key.

7 years agoMerge pull request #3210 from esdrubal/connectasyncUHE
Marcos Henrich [Tue, 5 Jul 2016 09:46:03 +0000 (10:46 +0100)]
Merge pull request #3210 from esdrubal/connectasyncUHE

[System] Fixes ConnectAsync UnhandledEx

7 years agoMerge pull request #2958 from kumpera/visibility
Rodrigo Kumpera [Mon, 4 Jul 2016 19:46:33 +0000 (15:46 -0400)]
Merge pull request #2958 from kumpera/visibility

Fix a visibility check bug

7 years ago[jit] Set vret_var when emiting a jmp call.
Rodrigo Kumpera [Mon, 4 Jul 2016 19:14:23 +0000 (15:14 -0400)]
[jit] Set vret_var when emiting a jmp call.

7 years ago[coreclr-tests] Disable a test that fails verification.
Rodrigo Kumpera [Mon, 4 Jul 2016 18:08:54 +0000 (14:08 -0400)]
[coreclr-tests] Disable a test that fails verification.

7 years ago[coreclr-tests] Disable another broken test.
Rodrigo Kumpera [Mon, 4 Jul 2016 14:27:37 +0000 (10:27 -0400)]
[coreclr-tests] Disable another broken test.

7 years ago[coreclr-tests] Disable another broken test.
Rodrigo Kumpera [Mon, 4 Jul 2016 14:24:07 +0000 (10:24 -0400)]
[coreclr-tests] Disable another broken test.

7 years ago[mcs] More tweaks in betterness improvements. Fixes #42057
Marek Safar [Mon, 4 Jul 2016 13:01:00 +0000 (15:01 +0200)]
[mcs] More tweaks in betterness improvements. Fixes #42057

7 years agoMerge pull request #3234 from tritao/zip_non_seekable_streams
João Matos [Mon, 4 Jul 2016 11:10:51 +0000 (12:10 +0100)]
Merge pull request #3234 from tritao/zip_non_seekable_streams

[System.IO.Compression] Fixes ZipArchive to support non-seekable streams

7 years ago[System.Numerics.Vectors] Update type forwarders
Marek Safar [Mon, 4 Jul 2016 10:39:42 +0000 (12:39 +0200)]
[System.Numerics.Vectors] Update type forwarders

7 years ago[System.Numerics] Update .net 4.6 api
Marek Safar [Mon, 4 Jul 2016 09:23:23 +0000 (11:23 +0200)]
[System.Numerics] Update .net 4.6 api

7 years ago[mobile_static] Use make parallelism to aot compile .dlls in parallel
Alexander Kyte [Wed, 15 Jun 2016 22:33:58 +0000 (18:33 -0400)]
[mobile_static] Use make parallelism to aot compile .dlls in parallel

7 years ago[mobile_static] Use MonoPInvokeCallbackAttribute on MobileStatic
Alexander Kyte [Tue, 7 Jun 2016 23:10:14 +0000 (19:10 -0400)]
[mobile_static] Use MonoPInvokeCallbackAttribute on MobileStatic

7 years ago[mobile_static] Make Mono.CSharp excludes for tests that require compilation
Alexander Kyte [Fri, 3 Jun 2016 18:30:50 +0000 (14:30 -0400)]
[mobile_static] Make Mono.CSharp excludes for tests that require compilation

7 years ago[mobile_static] Blacklist app domain creation test
Alexander Kyte [Fri, 3 Jun 2016 17:57:35 +0000 (13:57 -0400)]
[mobile_static] Blacklist app domain creation test

7 years ago[mobile_static] Remove some duplicated excludes
Alexander Kyte [Thu, 2 Jun 2016 23:32:36 +0000 (19:32 -0400)]
[mobile_static] Remove some duplicated excludes

7 years ago[mobile_static] Fix misformatted excludes, tests excluded due to lack of System.Confi...
Alexander Kyte [Mon, 23 May 2016 23:17:14 +0000 (19:17 -0400)]
[mobile_static] Fix misformatted excludes, tests excluded due to lack of System.Configuration

7 years ago[mobile_static] Tracked down unpassable ServiceModel tests, blacklisted
Alexander Kyte [Mon, 23 May 2016 22:48:41 +0000 (18:48 -0400)]
[mobile_static] Tracked down unpassable ServiceModel tests, blacklisted

7 years ago[mobile_static] Add MOBILE_STATIC to preprocessor guard
Alexander Kyte [Mon, 23 May 2016 22:47:37 +0000 (18:47 -0400)]
[mobile_static] Add MOBILE_STATIC to preprocessor guard

7 years ago[mobile_static] Blacklisted unpassable tests for System
Alexander Kyte [Mon, 23 May 2016 22:46:59 +0000 (18:46 -0400)]
[mobile_static] Blacklisted unpassable tests for System

7 years ago[mobile_static] Fix System.Runtime.Serialization tests with preprocessor
Alexander Kyte [Mon, 23 May 2016 22:44:38 +0000 (18:44 -0400)]
[mobile_static] Fix System.Runtime.Serialization tests with preprocessor
usage

7 years ago[mobile_static] Fix libraries provided when building System
Alexander Kyte [Mon, 23 May 2016 22:42:25 +0000 (18:42 -0400)]
[mobile_static] Fix libraries provided when building System

7 years ago[runtime] Add System.Data app config.
Alexander Kyte [Mon, 23 May 2016 17:11:14 +0000 (13:11 -0400)]
[runtime] Add System.Data app config.

7 years ago[runtime] Implement TLS_OP_GET_REG on linux (#3227)
Alexander Kyte [Sun, 3 Jul 2016 00:26:04 +0000 (20:26 -0400)]
[runtime] Implement TLS_OP_GET_REG on linux (#3227)

7 years ago[runtime] Abort the finalizer thread first instead of stopping it, to allow an orderl...
Zoltan Varga [Sun, 3 Jul 2016 00:25:06 +0000 (20:25 -0400)]
[runtime] Abort the finalizer thread first instead of stopping it, to allow an orderly shutdown and to avoid hitting the 'finalizer_thread_exited' assert. Hopefully fixes #41833. (#3233)

7 years ago[System.IO.Compression] Fixes ZipArchive to support non-seekable streams.
João Matos [Sat, 2 Jul 2016 01:02:25 +0000 (02:02 +0100)]
[System.IO.Compression] Fixes ZipArchive to support non-seekable streams.

This is the same behavior as documented on MSDN.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=30686.

7 years ago[jit] Add fixme to AA.
Rodrigo Kumpera [Tue, 8 Mar 2016 14:27:42 +0000 (09:27 -0500)]
[jit] Add fixme to AA.

7 years ago[mini] Ensure that an endfinally outside of a finally block fails to JIT.
Rodrigo Kumpera [Mon, 7 Mar 2016 06:46:30 +0000 (01:46 -0500)]
[mini] Ensure that an endfinally outside of a finally block fails to JIT.

7 years ago[ilasm] Side with parent declaration when deciding if a type is an enum or a value...
Rodrigo Kumpera [Fri, 4 Mar 2016 06:40:33 +0000 (01:40 -0500)]
[ilasm] Side with parent declaration when deciding if a type is an enum or a value type.

The conflict happens when a type is declared like this:

.class value private auto ansi serializable sealed foo extends [mscorlib]System.Enum

The value keyword would make it a value type and ignore the parent declaration.

.net ilasm favors the later, which makes more sense.

7 years ago[jit] Remove silly debug spew.
Rodrigo Kumpera [Fri, 4 Mar 2016 06:25:10 +0000 (01:25 -0500)]
[jit] Remove silly debug spew.

7 years ago[coreclr-tests] Disable another test that depends on array size limits on .net.
Rodrigo Kumpera [Sat, 2 Jul 2016 00:07:37 +0000 (20:07 -0400)]
[coreclr-tests] Disable another test that depends on array size limits on .net.

7 years ago[amd64] The prolog stack probe code sequence is 11 bytes each chunk and not 10. Fixes...
Rodrigo Kumpera [Fri, 4 Mar 2016 05:27:47 +0000 (00:27 -0500)]
[amd64] The prolog stack probe code sequence is 11 bytes each chunk and not 10. Fixes coreclr test.

7 years ago[coreclr-tests] Disable some tests that are not supposed to work under mono.
Rodrigo Kumpera [Sat, 2 Jul 2016 00:06:13 +0000 (20:06 -0400)]
[coreclr-tests] Disable some tests that are not supposed to work under mono.

7 years ago[jit] Return NULL on zero sized localloc. Fixes coreclr test.
Rodrigo Kumpera [Fri, 4 Mar 2016 02:57:44 +0000 (21:57 -0500)]
[jit] Return NULL on zero sized localloc. Fixes coreclr test.

7 years ago[verifier] Do method visibility checks for virtual final methods. Enable type visibil...
Rodrigo Kumpera [Fri, 1 Jul 2016 23:57:07 +0000 (19:57 -0400)]
[verifier] Do method visibility checks for virtual final methods. Enable type visibility for all methods. Fixes #5644.

I addressed the issue mentioned in the comments of mono_method_can_access_method:

* FIXME:
* with generics calls to explicit interface implementations can be expressed
* directly: the method is private, but we must allow it. This may be opening
* a hole or the generics code should handle this differently.
* Maybe just ensure the interface type is public.

The way to do it is to check access between gmds

7 years agoMerge pull request #3211 from BrzVlad/fix-finalizer-thread-exited
Vlad Brezae [Fri, 1 Jul 2016 20:56:31 +0000 (23:56 +0300)]
Merge pull request #3211 from BrzVlad/fix-finalizer-thread-exited

[sgen] Speed up domain finalization at shutdown

7 years ago[remoting] If remoting is disabled, don't assert looking for LoadRemoteFieldNew ...
Aleksey Kliger (λgeek) [Fri, 1 Jul 2016 15:11:54 +0000 (11:11 -0400)]
[remoting] If remoting is disabled, don't assert looking for LoadRemoteFieldNew (#3229)

7 years ago[sgen] Make suspend_finalizers volatile
Vlad Brezae [Fri, 1 Jul 2016 15:10:01 +0000 (18:10 +0300)]
[sgen] Make suspend_finalizers volatile

It is used for signaling on separate threads.

7 years agoMerge pull request #3225 from tritao/zip_stream_getters
João Matos [Fri, 1 Jul 2016 14:05:57 +0000 (15:05 +0100)]
Merge pull request #3225 from tritao/zip_stream_getters

[System.IO.Compression] Fixed Zip entry stream length/position getters in Update mode

7 years ago[llvmonly] Fix the name of a few llvmonly icalls.
Zoltan Varga [Fri, 1 Jul 2016 02:42:51 +0000 (22:42 -0400)]
[llvmonly] Fix the name of a few llvmonly icalls.

7 years ago[llvmonly] Unwrap RuntimeWrapperExceptions if needed.
Zoltan Varga [Fri, 1 Jul 2016 02:31:07 +0000 (22:31 -0400)]
[llvmonly] Unwrap RuntimeWrapperExceptions if needed.

7 years ago[sgen] Avoid throwing exceptions from inside the critical region in the managed alloc...
Zoltan Varga [Fri, 1 Jul 2016 02:28:55 +0000 (22:28 -0400)]
[sgen] Avoid throwing exceptions from inside the critical region in the managed allocators. (#3230)

7 years ago[corlib] Mark some StackTrace/StackFrame methods as NoInlining to prevent llvm from...
Zoltan Varga [Fri, 1 Jul 2016 02:07:54 +0000 (22:07 -0400)]
[corlib] Mark some StackTrace/StackFrame methods as NoInlining to prevent llvm from inlining these methods, which breaks the stacktrace computation code in the runtime.

7 years ago[tests] Probe for a different type than System.IO.Pipes.PipeOptions which is not...
Zoltan Varga [Fri, 1 Jul 2016 01:15:05 +0000 (21:15 -0400)]
[tests] Probe for a different type than System.IO.Pipes.PipeOptions which is not part of the mobile_static profile. Fixes #41955.

7 years ago[llvmonly] Avoid asserting when caching non-open generic instances.
Zoltan Varga [Fri, 1 Jul 2016 00:49:17 +0000 (20:49 -0400)]
[llvmonly] Avoid asserting when caching non-open generic instances.

7 years ago[llvmonly] Emit gsharedvt wrappers for Nullable.Unbox calls.
Zoltan Varga [Fri, 1 Jul 2016 00:48:42 +0000 (20:48 -0400)]
[llvmonly] Emit gsharedvt wrappers for Nullable.Unbox calls.

7 years ago[llvmonly] Fix a case where an ftnptr was invoked as a method address.
Zoltan Varga [Fri, 1 Jul 2016 00:35:26 +0000 (20:35 -0400)]
[llvmonly] Fix a case where an ftnptr was invoked as a method address.

7 years ago[llvmonly] Fix invocation of string ctors. Emit Array.Set/Get wrappers for more types.
Zoltan Varga [Thu, 30 Jun 2016 23:34:50 +0000 (19:34 -0400)]
[llvmonly] Fix invocation of string ctors. Emit Array.Set/Get wrappers for more types.