From: Andrew Au Date: Thu, 20 Sep 2018 23:44:39 +0000 (-0700) Subject: Allocating the DebuggerDataBreakpoint object in the right heap X-Git-Tag: submit/tizen/20210909.063632~11030^2~3450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=585af42a3321a49030de75efe00935fe3f8912cc;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Allocating the DebuggerDataBreakpoint object in the right heap Commit migrated from https://github.com/dotnet/coreclr/commit/2db5af268afc606a5ce4675899af5808c6b8a459 --- diff --git a/src/coreclr/src/debug/ee/controller.cpp b/src/coreclr/src/debug/ee/controller.cpp index f8bd932..74d9f11 100644 --- a/src/coreclr/src/debug/ee/controller.cpp +++ b/src/coreclr/src/debug/ee/controller.cpp @@ -2730,7 +2730,7 @@ DPOSS_ACTION DebuggerController::ScanForTriggers(CORDB_ADDRESS_TYPE *address, tpr != TPR_TRIGGER_ONLY_THIS && DebuggerDataBreakpoint::TriggerDataBreakpoint(thread, context)) { - DebuggerDataBreakpoint *pDataBreakpoint = new DebuggerDataBreakpoint(thread); + DebuggerDataBreakpoint *pDataBreakpoint = new (interopsafe) DebuggerDataBreakpoint(thread); pDcq->dcqEnqueue(pDataBreakpoint, FALSE); }