Skip to content

Conversation

@agarwal-sandeep
Copy link
Collaborator

This speeds up stack walking IsNativeAddress checks when CFG is not enabled.

#ifdef _CONTROL_FLOW_GUARD
return PHASE_FORCE1(Js::PreReservedHeapAllocPhase) || (!PHASE_OFF1(Js::PreReservedHeapAllocPhase) &&
!IsJitInDebugMode() && GetThreadContextInfo()->IsCFGEnabled()
!IsJitInDebugMode() // && GetThreadContextInfo()->IsCFGEnabled()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's just remove the commented conditions

…FG is not enabled

This speeds up stack walking IsNativeAddress checks when CFG is not enabled.
@chakrabot chakrabot merged commit d8b60d1 into chakra-core:release/1.8 Feb 7, 2018
chakrabot pushed a commit that referenced this pull request Feb 7, 2018
…in PreReservedSegment even if CFG is not enabled

Merge pull request #4647 from agarwal-sandeep:vso15659337

This speeds up stack walking IsNativeAddress checks when CFG is not enabled.
chakrabot pushed a commit that referenced this pull request Feb 8, 2018
… JIT code in PreReservedSegment even if CFG is not enabled

Merge pull request #4647 from agarwal-sandeep:vso15659337

This speeds up stack walking IsNativeAddress checks when CFG is not enabled.
chakrabot pushed a commit that referenced this pull request Feb 8, 2018
…y to allocate JIT code in PreReservedSegment even if CFG is not enabled

Merge pull request #4647 from agarwal-sandeep:vso15659337

This speeds up stack walking IsNativeAddress checks when CFG is not enabled.
@agarwal-sandeep agarwal-sandeep deleted the vso15659337 branch February 8, 2018 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants