Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS#15659337: Try to allocate JIT code in PreReservedSegment even if CFG is not enabled #4647

Merged
merged 1 commit into from
Feb 7, 2018

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…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.

None yet

3 participants