Skip to content

stream: prevent object map change in TransformState#5032

Merged
evanlucas merged 1 commit into
nodejs:masterfrom
evanlucas:transformmap
Feb 2, 2016
Merged

stream: prevent object map change in TransformState#5032
evanlucas merged 1 commit into
nodejs:masterfrom
evanlucas:transformmap

Conversation

@evanlucas

Copy link
Copy Markdown
Contributor

TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

@evanlucas evanlucas added the stream Issues and PRs related to the stream subsystem. label Feb 2, 2016
@mscdex

mscdex commented Feb 2, 2016

Copy link
Copy Markdown
Contributor

LGTM

@evanlucas

Copy link
Copy Markdown
Contributor Author

@cjihrig

cjihrig commented Feb 2, 2016

Copy link
Copy Markdown
Contributor

LGTM

@evanlucas

Copy link
Copy Markdown
Contributor Author

@jasnell

jasnell commented Feb 2, 2016

Copy link
Copy Markdown
Member

LGTM, CI is green

TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

PR-URL: nodejs#5032
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@evanlucas evanlucas closed this Feb 2, 2016
@evanlucas evanlucas deleted the transformmap branch February 2, 2016 19:07
@evanlucas evanlucas merged commit cb51688 into nodejs:master Feb 2, 2016
@evanlucas

Copy link
Copy Markdown
Contributor Author

Thanks! Landed in cb51688

rvagg pushed a commit that referenced this pull request Feb 8, 2016
TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

PR-URL: #5032
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

@evanlucas is this something we would want for lts?

@evanlucas

Copy link
Copy Markdown
Contributor Author

I don't see why it would hurt.

@jasnell

jasnell commented Mar 11, 2016

Copy link
Copy Markdown
Member

SGTM

MylesBorins pushed a commit that referenced this pull request Mar 17, 2016
TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

PR-URL: #5032
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

PR-URL: #5032
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
TransformState has the writeencoding property that gets set on the
first _write. It is not declared when the transform state is initially
constructed and can cause a deopt.

PR-URL: nodejs#5032
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants