PREEMPTIVE_XE_TARGETFINALIZE

(Republishing, or using this info in a commercial product/website, is prohibited without permission. All other uses are permitted. If in doubt, please ask.)

(Back to main page…)

Description:

This wait type is when a thread is switching to preemptive mode while destroying an Extended Event session target.

(Books Online description: N/A)

Questions/comments on this wait type? Click here to send Paul an email, especially if you have any information to add to this topic.

Added in SQL Server version:

2008

Removed in SQL Server version:

N/A

Extended Events wait_type value:

The map_key value in sys.dm_xe_map_values is 543 in 2008 and 2008 R2, 591 in 2012, and 607 in 2014 RTM. After 2014 RTM, you must check the DMV to get the latest value as some map_key values have changed in later builds.

Other information:

N/A

Known occurrences in SQL Server (list number matches call stack list):

  1. Destroying a session target (in this case, as part of committing the changes from an ALTER EVENT SESSION operation)

And other similar call stacks.

Abbreviated call stacks (list number matches known occurrences list):

  1. SOS_Task::PopWait+b1
    SOS_ExternalAutoWait::~SOS_ExternalAutoWait+7a
    XE_ActualTargetEntry::~XE_ActualTargetEntry+123
    XE_ActualTargetEntry::`scalar deleting destructor’+14
    XE_TargetEntry::Destroy+d0
    XE_Session::UnbindTargetEntry+287
    XE_Session::ForEach<XE_TargetEntry,40>+a3
    XE_Session::Commit+32d
    XE_Session::Close+325
    XE_Session::Destroy+33
    XE_Engine::ReleaseObjectReference+79
    XEventController::VLR_AlterXESession::~VLR_AlterXESession+77
    XEventController::VLR_StopXESession::CommitAndRelease+194
    XdesRMReadWrite::CommitAllVirtualLogRecs+e4
    XdesRMReadWrite::PreDestruct+23e
    XdesRMFull::~XdesRMFull+b2
    XdesRMFull::`vector deleting destructor’+14
    XactRM::SinglePhaseCommit+1e3
    XactRM::CommitInternal+472
    FullXactImp::Commit+33f
    CMsqlXactInternalReadWrite::Commit+19
    CMsqlXactImp::Commit+1d6