Skip to content

Support disabling interpreter thunks in JSRT - #4797

Merged
chakrabot merged 1 commit into
chakra-core:masterfrom
digitalinfinity:jsrt_thunk_master
Mar 10, 2018
Merged

Support disabling interpreter thunks in JSRT#4797
chakrabot merged 1 commit into
chakra-core:masterfrom
digitalinfinity:jsrt_thunk_master

Conversation

@digitalinfinity

Copy link
Copy Markdown
Contributor

JsRuntimeAttributeDisableNativeCodeGeneration is not sufficient to disable all allocation of executable memory. Added a new attribute with explicitly this intent so that hosts running in locked down processes can embed ChakraCore

@agarwal-sandeep agarwal-sandeep left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:shipit:

@boingoing boingoing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍


// Per script configurations
bool NoNative;
bool NoDynamicThunks;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I dislike this capitalization but ok.

@liminzhu liminzhu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd also add a note on JsRuntimeAttributeDisableNativeCodeGeneration that it does not stop all executable memory allocation and refer to this new flag. Other than that :shipit: .

@sethbrenith sethbrenith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@chakrabot
chakrabot merged commit 6464387 into chakra-core:master Mar 10, 2018
chakrabot pushed a commit that referenced this pull request Mar 10, 2018
…n JSRT

Merge pull request #4797 from digitalinfinity:jsrt_thunk_master

JsRuntimeAttributeDisableNativeCodeGeneration is not sufficient to disable all allocation of executable memory. Added a new attribute with explicitly this intent so that hosts running in locked down processes can embed ChakraCore
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.

7 participants