Skip to content

Commit 996a260

Browse files
authored
Merge pull request dotnet#23997 from safern/merge-master-nullable
Merge master into nullable feature
2 parents 304be84 + f221445 commit 996a260

File tree

225 files changed

+9473
-5856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+9473
-5856
lines changed

BuildToolsVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0-preview4-03906-01
1+
3.0.0-preview4-03913-01

Documentation/Profiling/Profiler Loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If any of these environment variable are present, we skip the registry look up a
1616

1717
A couple things to note about this:
1818
- If you specify `CORECLR_PROFILER_PATH` _and_ register your profiler, then `CORECLR_PROFILER_PATH` always wins. Even if `CORECLR_PROFILER_PATH` points to an invalid path, we will still use `CORECLR_PROFILER_PATH`, and just fail to load your profiler.
19-
- `CORECLR_R_PROFILER` is _always required_. If you specify `CORECLR_PROFILER_PATH`, we skip the registry look up. We still need to know your profiler's CLSID, so we can pass it to your class factory's CreateInstance call.
19+
- `CORECLR_PROFILER` is _always required_. If you specify `CORECLR_PROFILER_PATH`, we skip the registry look up. We still need to know your profiler's CLSID, so we can pass it to your class factory's CreateInstance call.
2020

2121

2222
## Through the registry (Windows Only)

Documentation/Profiling/davbr-blog-archive/samples/PlugInToYourProfiler.cpp

Lines changed: 477 additions & 1 deletion
Large diffs are not rendered by default.

Documentation/Profiling/davbr-blog-archive/samples/sigparse.cpp

Lines changed: 1051 additions & 1 deletion
Large diffs are not rendered by default.

Documentation/deep-dive-blog-posts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
### Posts that take a high-level overview of releases
44

55
- [Corestart 2.0: What's new for performance in .NET Core 2.0](https://www.ageofascent.com/2017/11/05/perfromance-dotnet-core-2-corestart-conference/)
6+
- [Performance improvements in .NET Core 2.0](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-core/)
7+
- [Performance improvements in .NET Core 2.1](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-core-2-1/)
68

79

810
### Posts that take a high-level look at the entire source:

ILAsmVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0-preview5-27610-71
1+
3.0.0-preview5-27615-71

azure-pipelines.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,21 @@ jobs:
221221
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
222222
testGroup: outerloop-gcstress0x3-gcstress0xc
223223

224+
# The ReadyToRun test jobs that are triggered by default from a PR.
225+
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
226+
- template: eng/platform-matrix.yml
227+
parameters:
228+
jobTemplate: test-job.yml
229+
buildConfig: checked
230+
platforms:
231+
- Linux_x64
232+
- OSX_x64
233+
- Windows_NT_x64
234+
- Windows_NT_x86
235+
jobParameters:
236+
readyToRun: true
237+
testGroup: innerloop
238+
224239
# CI
225240
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
226241
- template: eng/platform-matrix.yml

build-test.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,11 @@ if /I "%2" == "mscorlib.ni.dll" exit /b 0
557557
REM don't precompile anything from CoreCLR
558558
if /I exist %CORE_ROOT_STAGE%\%2 exit /b 0
559559

560+
REM Don't precompile xunit.* files
561+
echo "%2" | findstr /b "xunit." >nul && (
562+
exit /b 0
563+
)
564+
560565
"%CORE_ROOT_STAGE%\crossgen.exe" /Platform_Assemblies_Paths "%CORE_ROOT%" /in "%1" /out "%CORE_ROOT%/temp.ni.dll" >nul 2>nul
561566
set /a __exitCode = %errorlevel%
562567
if "%__exitCode%" == "-2146230517" (

build-test.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ generate_layout()
150150
build_MSBuild_projects "Tests_Overlay_Managed" "${__ProjectDir}/tests/runtest.proj" "Creating test overlay" "/t:CreateTestOverlay"
151151

152152
chmod +x $__BinDir/corerun
153-
chmod +x $__BinDir/crossgen
153+
chmod +x $__CrossgenExe
154154

155155
# Make sure to copy over the pulled down packages
156156
cp -r $__BinDir/* $CORE_ROOT/ > /dev/null
@@ -176,15 +176,16 @@ precompile_coreroot_fx()
176176

177177
local overlayDir=$CORE_ROOT
178178

179-
filesToPrecompile=$(find -L $overlayDir -iname \*.dll -not -iname \*.ni.dll -not -iname \*-ms-win-\* -type f )
179+
# TODO: Remove System.Xml.XDocument.dll exclusion - it was added because "custom" xunit.console.dll fails when running from Core_Root with crossgen-d framework.
180+
filesToPrecompile=$(find -L $overlayDir -iname \*.dll -not -iname \*.ni.dll -not -iname \*-ms-win-\* -not -iname xunit.\* -not -name System.Xml.XDocument.dll -type f)
180181
for fileToPrecompile in ${filesToPrecompile}
181182
do
182183
local filename=${fileToPrecompile}
183184
if is_skip_crossgen_test "$(basename $filename)"; then
184185
continue
185186
fi
186187
echo Precompiling $filename
187-
$overlayDir/crossgen /Platform_Assemblies_Paths $overlayDir $filename 1> $filename.stdout 2>$filename.stderr
188+
$__CrossgenExe /Platform_Assemblies_Paths $overlayDir $filename 1> $filename.stdout 2>$filename.stderr
188189
local exitCode=$?
189190
if [[ $exitCode != 0 ]]; then
190191
if grep -q -e '0x80131018' $filename.stderr; then
@@ -964,9 +965,6 @@ __CrossComponentBinDir="$__BinDir"
964965
__CrossCompIntermediatesDir="$__IntermediatesDir/crossgen"
965966

966967
__CrossArch="$__HostArch"
967-
if [[ "$__HostArch" == "x64" && "$__BuildArch" == "arm" ]]; then
968-
__CrossArch="x86"
969-
fi
970968
if [ $__CrossBuild == 1 ]; then
971969
__CrossComponentBinDir="$__CrossComponentBinDir/$__CrossArch"
972970
fi

dependencies.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626

2727
<!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
2828
<PropertyGroup>
29-
<CoreClrCurrentRef>5b279e7174e71e3a94d48562f049f21ff3a0d33a</CoreClrCurrentRef>
30-
<BuildToolsCurrentRef>66f3bb05de8ac6063fbedff5816ef25cc6ecfa11</BuildToolsCurrentRef>
29+
<CoreClrCurrentRef>b6660920d1e383721f6c396d02420721be0aca83</CoreClrCurrentRef>
30+
<BuildToolsCurrentRef>c6a0e8080e10e8940af6b1d1809e79fdd8de55b7</BuildToolsCurrentRef>
3131
</PropertyGroup>
3232

3333
<!-- Tests/infrastructure dependency versions. -->
3434
<PropertyGroup>
35-
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview5-27610-71</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
35+
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview5-27615-71</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
3636
<XunitPackageVersion>2.4.1</XunitPackageVersion>
3737
<XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
3838
<MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.36</MicrosoftDiagnosticsTracingTraceEventPackageVersion>

0 commit comments

Comments
 (0)