Pat Gavlin [Tue, 8 Dec 2015 00:17:43 +0000 (16:17 -0800)]
Merge pull request #2239 from richardlford/additiveexclusion
Add Exclude2 option for runtest.cmd for additive exclusion.
Richard L Ford [Fri, 4 Dec 2015 22:13:27 +0000 (14:13 -0800)]
Add Exclude0 option for runtest.cmd for additive exclusion.
Currently when the Exclude parameter is passed to the coreclr
tests/runtest.cmd, the specified file replaces the default coreclr
exclusion file.
But an independent project, e.g. LLILC, may want to exclude the tests
in the coreclr issues.targets file as well as additional tests. In
that case it would be useful if runtest.cmd supported adding an
additional exclusion file that does not replace the default.
This change makes the new Exclude0 option control the default
exclusion list, so specifying Exclude does not overwrite it.
Closes #2238.
Jan Vorlicek [Mon, 7 Dec 2015 19:36:31 +0000 (20:36 +0100)]
Merge pull request #2241 from kyulee1/ildasm3
Enable ildasm for *nix
Kyungwoo Lee [Tue, 1 Dec 2015 18:16:08 +0000 (10:16 -0800)]
Enable ildasm for *nix
This enables ildasm for cross-platforms.
Unlike Window (where initialization is done when DLL attach), CoreCLR is explciltly hosted/initialized to get the Metadata related APIs.
This also eliminates the need of setting dynamic library path.
Currently, ildasm binary is assumed to be located same as CoreCLR binary.
I added a simple CoreCLRLoader (not meant to run an assembly file) for just direct uses of APIs. Since I expect this library to be used for ilasm work.
Resource string is also handled using a static string table based on my prior check-in.
Other changes are mostly mechanic with regard to wide constant string.
Jan Vorlicek [Mon, 7 Dec 2015 14:34:49 +0000 (15:34 +0100)]
Merge pull request #2254 from benpye/no-getcontext
Remove usage of getcontext
Pat Gavlin [Mon, 7 Dec 2015 05:57:02 +0000 (21:57 -0800)]
Merge pull request #2249 from pgavlin/ImportVTTests
Import jit/jit64/valuetype/nullable tests.
Andy Ayers [Mon, 7 Dec 2015 01:16:54 +0000 (17:16 -0800)]
Merge pull request #2232 from AndyAyersMS/PerfTest2
More simple integer benchmarks for the Jit
Jan Kotas [Sun, 6 Dec 2015 18:21:40 +0000 (10:21 -0800)]
Merge pull request #2247 from mikedn/safeseh
Use /safeseh to compile x86 MASM files
Mike Danes [Sat, 5 Dec 2015 10:24:32 +0000 (12:24 +0200)]
Enable SAFESEH in the Windows x86 build
Jan Kotas [Sat, 5 Dec 2015 17:52:06 +0000 (09:52 -0800)]
Merge pull request #2248 from dotnet-bot/from-tfs
Merge changes from TFS
Ben Pye [Sat, 5 Dec 2015 17:05:29 +0000 (17:05 +0000)]
Remove usage of getcontext
Jan Kotas [Sat, 5 Dec 2015 16:36:04 +0000 (08:36 -0800)]
Fix build break in internal build
[tfs-changeset: 1554810]
Jan Kotas [Sat, 5 Dec 2015 08:01:53 +0000 (00:01 -0800)]
Merge pull request #2246 from jkotas/gc-update
Update GC from CoreRT
Jan Kotas [Sat, 5 Dec 2015 04:16:55 +0000 (20:16 -0800)]
Fix build breaks after GC update
Jan Kotas [Fri, 4 Dec 2015 17:58:25 +0000 (09:58 -0800)]
Update GC from CoreRT
https://github.com/dotnet/corert/tree/master/src/Native/gc
6fb4eecd513d3b3e1ae7584a22ece46107e98069
William Godbe [Sat, 5 Dec 2015 00:53:29 +0000 (16:53 -0800)]
Merge pull request #2195 from wtgodbe/getcpu
Implemented GetCurrentProcessorNumber in PAL.
Pat Gavlin [Fri, 4 Dec 2015 22:22:14 +0000 (14:22 -0800)]
Import jit/jit64/valuetype/nullable tests.
This includes box/unbox and cast tests. There is also a small change
to jit/config/minimal/project.json to include
the System.Runtime.InteropServices package.
Pat Gavlin [Fri, 4 Dec 2015 22:58:07 +0000 (14:58 -0800)]
Merge pull request #2230 from hoyMS/testPorting
Test porting
Brian Robbins [Fri, 4 Dec 2015 21:42:23 +0000 (13:42 -0800)]
Merge pull request #2198 from brianrob/xplateventlogger
Fix ArgumentOutOfRangeException in XplatEventLogger
William Godbe [Mon, 30 Nov 2015 23:32:36 +0000 (15:32 -0800)]
Implemented GetCurrentProcessorNumber and HasGetCurrentProcessorNumber
Andy Ayers [Fri, 4 Dec 2015 20:09:32 +0000 (12:09 -0800)]
Update benchmark project dependences to allow running in performance mode
Rich Lander [Fri, 4 Dec 2015 19:45:08 +0000 (11:45 -0800)]
Update contributing.md
Added a link to JIT porting guidance
Andy Ayers [Fri, 4 Dec 2015 19:35:05 +0000 (11:35 -0800)]
Trying to add dependences to run perf tests in perf mode
Jan Kotas [Fri, 4 Dec 2015 14:29:18 +0000 (06:29 -0800)]
Merge pull request #2231 from benpye/arm-runnable
Disable FEATURE_HIJACK on Linux ARM
Jan Vorlicek [Fri, 4 Dec 2015 12:27:16 +0000 (13:27 +0100)]
Merge pull request #2227 from kyulee1/rc
Refactoring resource string
Jan Kotas [Fri, 4 Dec 2015 06:02:34 +0000 (22:02 -0800)]
Merge pull request #2219 from kouvel/ConcurrentGc
Fix perf issue when concurrent GC is enabled by default
Andy Ayers [Fri, 4 Dec 2015 03:53:00 +0000 (19:53 -0800)]
More simple integer benchmarks for the Jit
8Queens, Ackermann, AddArray, Fib, Pi.
Ben Pye [Fri, 4 Dec 2015 04:47:59 +0000 (04:47 +0000)]
Disable FEATURE_HIJACK on Linux ARM
Kyungwoo Lee [Thu, 3 Dec 2015 22:26:05 +0000 (14:26 -0800)]
Refactoring resource string
This pulls out resource string handling out of mscorrc into top level.
The scripts (awk) are now parameterized to generate a unique string table for the
given name.
Added resourcestring.cpp to create an API "LoadResourceString".
Added a few macros into resourcestring.h, which are used for definition/uses of
the string table.
Andy Ayers [Fri, 4 Dec 2015 02:36:14 +0000 (18:36 -0800)]
Merge pull request #2213 from AndyAyersMS/PerfTest
Initial cut at a jit benchmark using xunit-performance
Andy Ayers [Wed, 2 Dec 2015 20:42:11 +0000 (12:42 -0800)]
Initial cut at a jit benchmark using xunit-performance
Provides for standalone execution as well as xunit discovery. I've also created a benchmark project.json for the various benchmarks to share.
Add inner iterations to bump per outer-iteration time to around 1 second. Conditionalize iteration count on Debug/Release build type.
Also, reduce logging verbosity by default when building tests. Add a "verbose" option to buildtest.cmd to ramp it back up.
Jan Kotas [Thu, 3 Dec 2015 22:39:08 +0000 (14:39 -0800)]
Merge pull request #2204 from kyulee1/unixcom
Lib unixcoreruncommon
Jan Kotas [Thu, 3 Dec 2015 22:34:47 +0000 (14:34 -0800)]
Merge pull request #2226 from jkotas/gc-update
Update GC from CoreRT
Hongtao Yu [Thu, 3 Dec 2015 22:13:26 +0000 (14:13 -0800)]
Porting jit\methodical\tailcall_v4\hijacking.ilproj
Jan Kotas [Thu, 3 Dec 2015 21:48:29 +0000 (13:48 -0800)]
Update GC from CoreRT
https://github.com/dotnet/corert/tree/master/src/Native/gc
17232964a899c5403abbef1ab022f6d161f8b9ff
Hongtao Yu [Thu, 3 Dec 2015 20:43:59 +0000 (12:43 -0800)]
Porting
jit\methodical\explicit\rotate\_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_dbgrotarg_valref.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_valref.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_valref.csproj
jit\methodical\explicit\rotate\_relrotarg_double.csproj
jit\methodical\explicit\rotate\_relrotarg_float.csproj
jit\methodical\explicit\rotate\_relrotarg_objref.csproj
jit\methodical\explicit\rotate\_relrotarg_valref.csproj
William Godbe [Thu, 3 Dec 2015 20:04:53 +0000 (12:04 -0800)]
Merge pull request #2225 from wtgodbe/prTestRun
Mac tests will run automatically on PR
William Godbe [Thu, 3 Dec 2015 20:04:05 +0000 (12:04 -0800)]
mac tests will run automatically on PR
Pat Gavlin [Thu, 3 Dec 2015 17:32:25 +0000 (09:32 -0800)]
Merge pull request #2216 from hoyMS/master
Porting CoreCLR JIT SelfHost tests
Jan Kotas [Thu, 3 Dec 2015 16:41:17 +0000 (08:41 -0800)]
Merge pull request #2210 from stephentoub/semaphore_in_mscorlib
Port System.Threading.Semaphore from corefx to mscorlib
Kyungwoo Lee [Wed, 2 Dec 2015 18:24:51 +0000 (10:24 -0800)]
Lib unixcoreruncommon
Sergiy Kuryata [Thu, 3 Dec 2015 07:20:22 +0000 (23:20 -0800)]
Merge pull request #2205 from sergiy-k/executablememory
Implement an allocator for executable (JIT) memory in PAL
Koundinya Veluri [Wed, 2 Dec 2015 20:46:37 +0000 (12:46 -0800)]
Fix perf issue when concurrent GC is enabled by default
- For checks to see if concurrent GC is enabled, replaced those that were directly using EEConfig, to instead use gc_heap::gc_can_use_concurrent, which takes write watch support into account. The max heap size is configured based on whether concurrent GC is enabled, and the previous checks were configuring the size incorrectly when write watch is not supported.
- Enabled concurrent GC by default for hosts that use coreclr_initialize
Fixes #2155
Hongtao Yu [Wed, 2 Dec 2015 18:43:58 +0000 (10:43 -0800)]
Porting the folloiwng CoreCLR JIT SelfHost tests:
Jit\Methodical\arrays\dbg\arrres.exe
Jit\Methodical\arrays\rel\arrres.exe
Jit\Methodical\arrays\speed_dbg\arrres.exe
Jit\Methodical\arrays\speed_rel\arrres.exe
jit\methodical\explicit\basic\_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_relrefarg_c.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_o.csproj
jit\methodical\explicit\basic\_opt_relrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_valref.csproj
jit\methodical\explicit\basic\_relrefarg_c.csproj
jit\methodical\explicit\basic\_relrefarg_f4.csproj
jit\methodical\explicit\basic\_relrefarg_f8.csproj
jit\methodical\explicit\basic\_relrefarg_i1.csproj
jit\methodical\explicit\basic\_relrefarg_i2.csproj
jit\methodical\explicit\basic\_relrefarg_i4.csproj
jit\methodical\explicit\basic\_relrefarg_o.csproj
jit\methodical\explicit\basic\_relrefarg_s.csproj
Porting the follwing test from CoreCLR JIT SelfHost:
jit\methodical\explicit\basic\_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_relrefarg_c.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_o.csproj
jit\methodical\explicit\basic\_opt_relrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_valref.csproj
jit\methodical\explicit\basic\_relrefarg_c.csproj
jit\methodical\explicit\basic\_relrefarg_f4.csproj
jit\methodical\explicit\basic\_relrefarg_f8.csproj
jit\methodical\explicit\basic\_relrefarg_i1.csproj
jit\methodical\explicit\basic\_relrefarg_i2.csproj
jit\methodical\explicit\basic\_relrefarg_i4.csproj
jit\methodical\explicit\basic\_relrefarg_o.csproj
jit\methodical\explicit\basic\_relrefarg_s.csproj
Porting the folloiwng CoreCLR JIT SelfHost tests:
Jit\Methodical\arrays\dbg\arrres.exe
Jit\Methodical\arrays\rel\arrres.exe
Jit\Methodical\arrays\speed_dbg\arrres.exe
Jit\Methodical\arrays\speed_rel\arrres.exe
jit\methodical\explicit\basic\_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_c.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_o.csproj
jit\methodical\explicit\basic\_opt_dbgrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_dbgrotarg_valref.csproj
jit\methodical\explicit\basic\_opt_relrefarg_c.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_f8.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i1.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i2.csproj
jit\methodical\explicit\basic\_opt_relrefarg_i4.csproj
jit\methodical\explicit\basic\_opt_relrefarg_o.csproj
jit\methodical\explicit\basic\_opt_relrefarg_s.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_double.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_float.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_objref.csproj
jit\methodical\explicit\rotate\_opt_relrotarg_valref.csproj
jit\methodical\explicit\basic\_relrefarg_c.csproj
jit\methodical\explicit\basic\_relrefarg_f4.csproj
jit\methodical\explicit\basic\_relrefarg_f8.csproj
jit\methodical\explicit\basic\_relrefarg_i1.csproj
jit\methodical\explicit\basic\_relrefarg_i2.csproj
jit\methodical\explicit\basic\_relrefarg_i4.csproj
jit\methodical\explicit\basic\_relrefarg_o.csproj
jit\methodical\explicit\basic\_relrefarg_s.csproj
Mike McLaughlin [Thu, 3 Dec 2015 01:24:43 +0000 (17:24 -0800)]
Merge pull request #2202 from mikem8361/sosfixes
Some SOS fixes/cleanup (bpmd, setclrpath, setsostid).
Mike McLaughlin [Fri, 20 Nov 2015 02:13:25 +0000 (18:13 -0800)]
Some SOS fixes/cleanup (bpmd, setclrpath, setsostid).
Enable the module load notification when no module or methods are found.
setclrpath/setsostid print the current path/tid if no arguments. "setsostid -clear"
now clears the tid/os id mapping.
Added better exception hook to sos plugin to catch special CLRN exception. Before
multiple lldb "Exception breakpoints" where set each time bpmd added a new bp. Added
a "DoNotDeleteOrDisable" message to the exception breakpoint created.
Fix bpmd on release builds. RtlpRaiseException was being inlined and the ExceptionRecord
parameter was being optimized away causing the GetLastEventInformation api to failed
and the special CLRN exception to be ignored.
Add sos help support. "soshelp" displays help about a command.
Sergiy Kuryata [Wed, 2 Dec 2015 23:23:37 +0000 (15:23 -0800)]
Address code review feedback
William Godbe [Wed, 2 Dec 2015 22:38:21 +0000 (14:38 -0800)]
Merge pull request #2211 from wtgodbe/prTestRun
Should allow for test suite runs on OSX on each PR
William Godbe [Wed, 2 Dec 2015 22:37:13 +0000 (14:37 -0800)]
Fixed copyartifacts issue
stephentoub [Wed, 2 Dec 2015 20:21:09 +0000 (15:21 -0500)]
Port System.Threading.Semaphore from corefx to mscorlib
In the full framework, System.Threading.Semaphore is defined in System.dll, which no longer exists in coreclr/corefx. Thus Semaphore needs to be defined in either mscorlib in coreclr or in System.Threading.dll in corefx (either way it's exposed from the System.Threading contract). Today it's implemented in System.Threading.dll in corefx, but this results in a very unnatural dependency on Unix from System.Threading.dll to libcoreclr's PAL layer. This is because on Unix libcoreclr needs to emulate wait handles, and thus all of the implementation for a Win32 semaphore (for which Semaphore is a thin wrapper) is in libcoreclr.
To eliminate that unnatural dependency, this commit ports System.Threading.Semaphore to mscorlib. It'll be type-forwarded as part of the System.Threading.dll partial facade. A corresponding commit in corefx will remove all of the implementation from there.
William Godbe [Wed, 2 Dec 2015 21:32:05 +0000 (13:32 -0800)]
Merge pull request #2209 from wtgodbe/prTestRun
Modifications to OS X PR test run
William Godbe [Wed, 2 Dec 2015 21:31:13 +0000 (13:31 -0800)]
Added release
William Godbe [Wed, 2 Dec 2015 21:25:41 +0000 (13:25 -0800)]
Merge pull request #2208 from wtgodbe/prTestRun
resolved naming conflict
William Godbe [Wed, 2 Dec 2015 21:24:06 +0000 (13:24 -0800)]
resolved naming conflict
William Godbe [Wed, 2 Dec 2015 20:06:25 +0000 (12:06 -0800)]
Merge pull request #2199 from wtgodbe/prTestRun
OS X tests should now be run with each PR
William Godbe [Tue, 1 Dec 2015 23:51:29 +0000 (15:51 -0800)]
First crack
Sergiy Kuryata [Wed, 2 Dec 2015 18:15:18 +0000 (10:15 -0800)]
Implement an allocator for executable (JIT) memory in PAL
This change improves performance of CoreCLR with Server GC enabled by
about 30% according to ASP.NET benchmarks on Linux. The table below shows
number of requests per second that an ASP.NET benchmark could handle on my
machine before and after the change.
Pipeline Before After Improvement
16 230K Req/sec 305K Req/sec 33%
256 240K Req/sec 340K Req/sec 42%
The problem was that with Server GC enabled, the GC initialization code was
reserving a large chunck (about 18GB on my machine) of virtual address
space during runtime initialization. Unfortunately, due to implementation
details of MM on Linux, GC memory was located next to the location of
libcoreclr. As a result, the runtime could not allocate memory for JIT'ed
code close to the coreclr library. Because of that the JIT'ed code had to
use jump stubs to call functions from the runtime (which can become very
expensive, for example, for write barriers).
This change fixes this issue by implementing a simple allocator that tries
to reserve (during process startup) a chuck of virtual memory that is
located near the coreclr library (within 2GB range) that can be later used
for JIT'ed code.
Jan Kotas [Wed, 2 Dec 2015 18:07:38 +0000 (10:07 -0800)]
Merge pull request #2203 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Kotas [Wed, 2 Dec 2015 17:03:26 +0000 (09:03 -0800)]
Integrate GC fix to compensate for OS bug
[tfs-changeset: 1553463]
Jan Kotas [Wed, 2 Dec 2015 10:52:29 +0000 (02:52 -0800)]
Merge pull request #2201 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Kotas [Wed, 2 Dec 2015 07:59:57 +0000 (23:59 -0800)]
Fix regression on desktop introduce by #2164
[tfs-changeset: 1553409]
William Godbe [Tue, 1 Dec 2015 22:07:22 +0000 (14:07 -0800)]
Merge pull request #2125 from wtgodbe/macRunTest
runtest.sh now works on Mac as well as Linux
William Godbe [Fri, 20 Nov 2015 23:11:19 +0000 (15:11 -0800)]
runtest.sh now works on Mac as well as Linux
Brian Robbins [Mon, 16 Nov 2015 18:59:26 +0000 (10:59 -0800)]
Fix ArgumentOutOfRangeException in XplatEventLogger.
Jan Kotas [Tue, 1 Dec 2015 15:20:28 +0000 (07:20 -0800)]
Merge pull request #2194 from juergenhoetzel/pal-build-enable-ms-extensions
Enable Microsoft extensions for PAL compilation
Juergen Hoetzel [Mon, 30 Nov 2015 23:12:32 +0000 (00:12 +0100)]
Enable Microsoft extensions for PAL compilation
Clang 3.7 now requires passing the -fms-extensions flag to use the
__declspec language extension for declaration attributes.
Refs #2135
William Godbe [Mon, 30 Nov 2015 22:13:26 +0000 (14:13 -0800)]
Merge pull request #1671 from wtgodbe/QueryThreadCycleTime
Implemented QueryThreadCycleTime (time.cpp) & GetThreadTimes (thread.…
Pat Gavlin [Mon, 30 Nov 2015 17:34:40 +0000 (09:34 -0800)]
Merge pull request #2168 from pgavlin/EnvFileChange
Clean up the CoreCLR test wrappers.
Jan Kotas [Sat, 28 Nov 2015 13:59:05 +0000 (05:59 -0800)]
Merge pull request #2180 from justinvp/charenumerator
Remove duplicate code in CharEnumerator
Jan Kotas [Sat, 28 Nov 2015 08:03:03 +0000 (00:03 -0800)]
Merge pull request #2177 from juergenhoetzel/mismatched-new-delete
Fix mismatched use of new and delete
Justin Van Patten [Sat, 28 Nov 2015 05:35:53 +0000 (21:35 -0800)]
Remove duplicate code in CharEnumerator
Change IEnumerator.Current to simply return Current, instead of
having duplicate code in both properties.
Juergen Hoetzel [Fri, 27 Nov 2015 22:11:00 +0000 (23:11 +0100)]
Fix mismatched use of new and delete
Clang > 2.7.0 emits warnings for mismatched uses of new and
delete (-Wmismatched-new-delete).
Refs #2135
Jan Kotas [Fri, 27 Nov 2015 06:36:55 +0000 (22:36 -0800)]
Merge pull request #2171 from manu-silicon/patch-1
Update cross compilation instructions
Manu [Thu, 26 Nov 2015 03:28:25 +0000 (12:28 +0900)]
Update cross compilation instructions
Provide exact instructions for installing the required packages to do
the cross compilation.
Add section about the manual change to the urcu header files as the fix
is only in later revisions of Ubuntu.
Aditya Mandaleeka [Thu, 26 Nov 2015 00:34:31 +0000 (16:34 -0800)]
Merge pull request #2169 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Kotas [Wed, 25 Nov 2015 23:53:33 +0000 (15:53 -0800)]
Merge pull request #2162 from manu-silicon/patch-1
Use hkp protocol on port 80 to get mono
Jan Kotas [Wed, 25 Nov 2015 22:47:47 +0000 (14:47 -0800)]
Integrate bug fixes from desktop
[tfs-changeset: 1552157]
Jan Vorlicek [Wed, 25 Nov 2015 22:33:01 +0000 (23:33 +0100)]
Merge pull request #2167 from steveharter/StdArg
Fix unicode input on the command line
Lubomir Litchev [Wed, 25 Nov 2015 22:01:09 +0000 (14:01 -0800)]
Merge pull request #2138 from LLITCHEV/SysVTests
Fixes for Issues #s 2105 and 2106.
Jan Kotas [Wed, 25 Nov 2015 21:48:01 +0000 (13:48 -0800)]
Merge pull request #2166 from kyulee1/ildasm2
Enable ILDASM for Windows
Steve Harter [Wed, 25 Nov 2015 21:06:07 +0000 (15:06 -0600)]
Fix unicode input on the command line
Kyungwoo Lee [Tue, 24 Nov 2015 20:34:08 +0000 (12:34 -0800)]
Enable ILDASM for Windows
This enables building ILDASM with Cmake for Windows.
This ILDASM now depends on CoreCLR targeting cross-platform and thus I dropped some features like GUI/PDB -- default output is console.
Metadata related APIs in CoreCLR are directly exported, and used in ILDASM:
MetaDataGetDispenser
GetMetaDataInternalInterface
GetMetaDataInternalInterfaceFromPublic
GetMetaDataPublicInterfaceFromInternal
The code path is diverged by a definition FEATURE_CORECLR.
There are still Window specific components. Among others, resource file/dll generation is the one that should be ported.
Jan Kotas [Wed, 25 Nov 2015 18:53:33 +0000 (10:53 -0800)]
Merge pull request #2161 from jkotas/xunit-update
Update xunit version to 2.1.0
Jan Kotas [Wed, 25 Nov 2015 18:38:45 +0000 (10:38 -0800)]
Merge pull request #2160 from alexandrnikitin/gentree-remove-duplication
Remove duplicate assignment in Compiler::gtNodeHasSideEffects
Pat Gavlin [Tue, 24 Nov 2015 23:40:03 +0000 (15:40 -0800)]
Clean up the CoreCLR test wrappers.
- Various simplifications to the Xunit wrapper and the test helper
- Allow the specification of the test env script and the CORE_ROOT
directory at the command line on Windows.
Jan Kotas [Wed, 25 Nov 2015 16:09:13 +0000 (08:09 -0800)]
Merge pull request #2164 from janvorli/fix-wait-for-secondary-threads
Make app shutdown wait for secondary threads
Jan Vorlicek [Wed, 25 Nov 2015 10:04:27 +0000 (11:04 +0100)]
Make app shutdown wait for secondary threads
This change makes the CoreCLR behavior the same as the desktop CLR
w.r.t. the app shutdown and secondary threads. Now the application
waits for secondary threads to exit before exiting.
Manu [Wed, 25 Nov 2015 07:46:32 +0000 (16:46 +0900)]
Use hkp protocol on port 80 to get mono
Minor formatting to be consistent with the rest of the document.
Alexandr Nikitin [Wed, 25 Nov 2015 06:44:46 +0000 (08:44 +0200)]
Remove duplicate assignment in Compiler::gtNodeHasSideEffects
Jan Kotas [Wed, 25 Nov 2015 06:33:48 +0000 (22:33 -0800)]
Update auto-generated project.lock.json
Jan Kotas [Wed, 25 Nov 2015 06:00:18 +0000 (22:00 -0800)]
Update xunit version to 2.1.0
Jan Kotas [Wed, 25 Nov 2015 02:17:04 +0000 (18:17 -0800)]
Merge pull request #2156 from sergiy-k/disableconcurrentgc
Don't enable Concurrent GC on Unix by default
Lubomir Litchev [Sun, 22 Nov 2015 18:41:34 +0000 (10:41 -0800)]
Fixes for Issues #s 2105 and 2106.
For issue 2105 after more analysis there might be a very rare situation
(since this is not hit by the tests we have in coreclr and corefx) where
(even though there are not XMM callee saved register on System V) a
circular dependency might occur when homing params passed in XMM
registers. Used the right instruction for doing copying of XMM reg to XMM
reg
For issue # 2106 make sure for 2 register passed struct to use the
already available scOtherReg in struct psiScope.
Carol Eidt [Wed, 25 Nov 2015 01:05:19 +0000 (17:05 -0800)]
Merge pull request #2152 from CarolEidt/ryujit-porting-doc
Document porting RyuJIT to different platforms
Sergiy Kuryata [Tue, 24 Nov 2015 22:28:33 +0000 (14:28 -0800)]
Don't enable Concurrent GC on Unix by default
This change temporary disables the code in Unix hosting APIs that switches Concurrent GC on by default on Unix because this feature is not supported yet and having this flag set causes a performance regression (this problem is tracked by issue https://github.com/dotnet/coreclr/issues/2155).
Jan Kotas [Tue, 24 Nov 2015 22:26:07 +0000 (14:26 -0800)]
Merge pull request #2154 from jashook/master
Small architecture specific changes to fix the build on linux arm64.
jashook [Tue, 24 Nov 2015 21:05:37 +0000 (13:05 -0800)]
Small architecture specific changes to fix the build on linux arm64.
David Mason [Tue, 24 Nov 2015 21:02:07 +0000 (13:02 -0800)]
Merge pull request #2111 from davmason/master
Porting EventSource from the nuget package to coreclr
Carol Eidt [Tue, 24 Nov 2015 20:25:32 +0000 (12:25 -0800)]
Document porting RyuJIT to different platforms
This document outlines the various RyuJIT components that must be modified
to port to a new platform.
David Mason [Tue, 24 Nov 2015 19:26:50 +0000 (11:26 -0800)]
Restoring the fix to WriteEvent with null/empty arrays that was over written by my port.