Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
18b5fe6
Fix AsyncVoidMethodBuilder race condition around SynchronizationConte…
github-actions[bot] Mar 13, 2024
f09cd44
Always keep global symbols on ApplePlatforms (#99650)
github-actions[bot] Mar 13, 2024
c0a2606
Delete Decrypt_Pkcs1_ErrorsForInvalidPadding
github-actions[bot] Mar 13, 2024
c412efb
Rename MSBuild property MicrosoftNativeQuicMsQuicVersion -> Microsoft…
carlossanlop Mar 14, 2024
e373424
Fixing SignedXml.CheckSignature for enveloped signature with `#xpoint…
bartonjs Mar 14, 2024
50c3c86
[release/8.0-staging] disable optimizations for PopCount (#99832)
github-actions[bot] Mar 15, 2024
ff80834
[release/8.0-staging] Handle NativeOverlapped* coming from both the W…
github-actions[bot] Mar 16, 2024
cf1182c
Fix exporting certificate keys on macOS 14.4.
github-actions[bot] Mar 19, 2024
c27b203
[release/8.0] Upgrade zlib to 1.3.1 (#99473)
carlossanlop Mar 20, 2024
250354b
Fix failing CertificateValidationRemoteServer.ConnectWithRevocation_W…
rzikm Mar 20, 2024
afb3fca
[mono] Stop exporting ICU symbols from Mono (#99449)
matouskozak Mar 20, 2024
99c7022
[release/8.0-staging] Fix AV in HttpTelemetry.WriteEvent (#99607)
github-actions[bot] Mar 21, 2024
155a4ab
Merge branch 'release/8.0-staging' into merge/release/8.0-to-release/…
carlossanlop Mar 25, 2024
b7f0477
[Http/2] Fix handling of effectively empty DATA frame (#99502) (#99677)
ManickaP Mar 26, 2024
3f774aa
[release/8.0-staging] [HttpStress] [SslStress] Workaround image bug i…
github-actions[bot] Mar 27, 2024
ab416e9
Support building against clang 18 (#100258)
omajid Mar 27, 2024
f36dd88
[release/8.0][browser] WebSocket works differently depending on if we…
ilonatommy Mar 28, 2024
ba9df1e
[release/8.0-staging] Call the Copy Constructor for stack arguments i…
AaronRobinsonMSFT Mar 30, 2024
3ea18f2
[release/8.0] Don't unset ALPN list pointer during ALPN selection cal…
github-actions[bot] Apr 2, 2024
9de64a2
Backport of #99843 (#99844)
thaystg Apr 2, 2024
7d45915
[release/8.0-staging] Ensure that Sse3.MoveAndDuplicate correctly tra…
tannergooding Apr 4, 2024
7ae2d00
Fix allocation of empty array in the frozen heap for collectible type…
jkotas Apr 4, 2024
479defb
Use clang --version to get Apple toolset version (#100199)
github-actions[bot] Apr 4, 2024
d49f6cf
Azure Linux 3.0 deps package (#100684)
github-actions[bot] Apr 5, 2024
2b94204
Fix Http2 deadlock (#100086)
github-actions[bot] Apr 9, 2024
0de7023
[release/8.0-staging] Update CI builds to not use VS Previews (#100622)
github-actions[bot] Apr 10, 2024
4be29ad
Update dependencies from https://github.com/dotnet/hotreload-utils bu…
dotnet-maestro[bot] Apr 12, 2024
cca20d0
[release/8.0-staging] Update dependencies from dotnet/runtime-assets …
dotnet-maestro[bot] Apr 12, 2024
4814719
Merge pull request #99585 from dotnet-maestro-bot/merge/release/8.0-t…
ericstj Apr 12, 2024
f37eb48
Update dependencies from https://github.com/dotnet/source-build-exter…
dotnet-maestro[bot] Apr 12, 2024
0a26d20
Update dependencies from https://github.com/dotnet/xharness build 202…
dotnet-maestro[bot] Apr 12, 2024
24e52a0
[release/8.0-staging] Update dependencies from dotnet/source-build-re…
dotnet-maestro[bot] Apr 12, 2024
b1b775e
[release/8.0-staging] Update dependencies from dotnet/source-build-ex…
dotnet-maestro[bot] Apr 12, 2024
be4864f
Update dependencies from https://github.com/dotnet/runtime-assets bui…
dotnet-maestro[bot] Apr 12, 2024
78cde87
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 12, 2024
9b82dcc
Fix native leak in CryptoNative_GetX509nameInfo
github-actions[bot] Apr 12, 2024
7fa8815
[release/8.0-staging] Update dependencies from dotnet/emsdk (#99696)
dotnet-maestro[bot] Apr 12, 2024
f9feb68
Try to find seqpoints directly from jitinfo if it's not find on get_d…
github-actions[bot] Apr 13, 2024
af764fd
[release/8.0][browser] fix emscripten out/err overrides (#100818)
pavelsavara Apr 15, 2024
cd27afe
[mono][eventpipe] Fix firing dynamic method wrappers crash (#99712)
github-actions[bot] Apr 15, 2024
f0f42cc
Update Alpine versions for `release/8.0-staging` (#99849)
richlander Apr 15, 2024
6f29267
[release/8.0-staging] Guard against -1 Returned from sysconf for the …
github-actions[bot] Apr 15, 2024
a494d22
[Release/8.0] Remove preventing EH at shutdown (#100836)
janvorli Apr 15, 2024
3c5a0af
Add workload metadata (#100649)
joeloff Apr 15, 2024
2d7642d
System.Diagnostics.DiagnosticSource (#99583)
carlossanlop Apr 15, 2024
88be910
Always zero-init if object contains pointers (#100265) (#100426)
VSadov Apr 15, 2024
aa7c7ff
[release/8.0-staging] JIT: Fixed incorrect reversed condition for GT …
github-actions[bot] Apr 15, 2024
befe7ad
Merge branch 'release/8.0' into release/8.0-staging
directhex Apr 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Release/8.0] Remove preventing EH at shutdown (#100836)
Partial backport of #100293 to release/8.0
  • Loading branch information
janvorli authored Apr 15, 2024
commit a494d22d2b50bf7811549ac26ee459aed0af6c4f
3 changes: 0 additions & 3 deletions src/coreclr/vm/ceemain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1331,9 +1331,6 @@ void STDMETHODCALLTYPE EEShutDownHelper(BOOL fIsDllUnloading)
// Shutdown finalizer before we suspend all background threads. Otherwise we
// never get to finalize anything.

// No longer process exceptions
g_fNoExceptions = true;

// <TODO>@TODO: This does things which shouldn't occur in part 2. Namely,
// calling managed dll main callbacks (AppDomain::SignalProcessDetach), and
// RemoveAppDomainFromIPC.
Expand Down
7 changes: 0 additions & 7 deletions src/coreclr/vm/eepolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ void SafeExitProcess(UINT exitCode, ShutdownCompleteAction sca = SCA_ExitProcess
}
}

// Turn off exception processing, because if some other random DLL has a
// fault in DLL_PROCESS_DETACH, we could get called for exception handling.
// Since we've turned off part of the runtime, we can't, for instance,
// properly execute the GC that handling an exception might trigger.
g_fNoExceptions = true;
LOG((LF_EH, LL_INFO10, "SafeExitProcess: turning off exceptions\n"));

if (sca == SCA_TerminateProcessWhenShutdownComplete)
{
// disabled because if we fault in this code path we will trigger our Watson code
Expand Down
12 changes: 2 additions & 10 deletions src/coreclr/vm/excep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4623,12 +4623,6 @@ LONG InternalUnhandledExceptionFilter_Worker(
}
#endif

// This shouldn't be possible, but MSVC re-installs us... for now, just bail if this happens.
if (g_fNoExceptions)
{
return EXCEPTION_CONTINUE_SEARCH;
}

// Are we looking at a stack overflow here?
if ((pThread != NULL) && !pThread->DetermineIfGuardPagePresent())
{
Expand Down Expand Up @@ -5533,8 +5527,6 @@ static LONG ThreadBaseExceptionFilter_Worker(PEXCEPTION_POINTERS pExceptionInfo,
ThreadBaseExceptionFilterParam *pParam = (ThreadBaseExceptionFilterParam *) pvParam;
UnhandledExceptionLocation location = pParam->location;

_ASSERTE(!g_fNoExceptions);

Thread* pThread = GetThread();

#ifdef _DEBUG
Expand Down Expand Up @@ -7393,8 +7385,8 @@ LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo)
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING
//

// If exceptions (or runtime) have been disabled, then simply return.
if (g_fForbidEnterEE || g_fNoExceptions)
// If runtime have been disabled, then simply return.
if (g_fForbidEnterEE)
{
return EXCEPTION_CONTINUE_SEARCH;
}
Expand Down
3 changes: 0 additions & 3 deletions src/coreclr/vm/i386/excepx86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1571,9 +1571,6 @@ EXCEPTION_HANDLER_IMPL(COMPlusFrameHandler)

_ASSERTE((pContext == NULL) || ((pContext->ContextFlags & CONTEXT_CONTROL) == CONTEXT_CONTROL));

if (g_fNoExceptions)
return ExceptionContinueSearch; // No EH during EE shutdown.

// Check if the exception represents a GCStress Marker. If it does,
// we shouldnt record its entry in the TLS as such exceptions are
// continuable and can confuse the VM to treat them as CSE,
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/vm/vars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ GVAL_IMPL(SIZE_T, g_runtimeVirtualSize);

Volatile<LONG> g_fForbidEnterEE = false;
bool g_fManagedAttach = false;
bool g_fNoExceptions = false;

DWORD g_FinalizerWaiterStatus = 0;

Expand Down
1 change: 0 additions & 1 deletion src/coreclr/vm/vars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ GVAL_DECL(bool, g_fProcessDetach);
GVAL_DECL(bool, g_metadataUpdatesApplied);
#endif
EXTERN bool g_fManagedAttach;
EXTERN bool g_fNoExceptions;

// Indicates whether we're executing shut down as a result of DllMain
// (DLL_PROCESS_DETACH). See comments at code:EEShutDown for details.
Expand Down