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

fix(plugin): Make span_to_source use dedicated function #6853

Merged
merged 17 commits into from
Jan 26, 2023

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jan 25, 2023

Description:

NOTE: This is not a fundamental fix, and a memory leak still exists in __lookup_byte_offset_proxy . See #6854 for more details. This PR makes span_to_source not use __lookup_byte_offset_proxy.


The memory leak is gone, and the memory usage is not increasing while running the test.

image

Related issue:

@kdy1 kdy1 added this to the Planned milestone Jan 25, 2023
@kdy1 kdy1 requested a review from kwonoj January 25, 2023 11:01
@kdy1 kdy1 self-assigned this Jan 25, 2023
@kdy1 kdy1 marked this pull request as ready for review January 25, 2023 11:01
Copy link
Member Author

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

swc-bump:

  • swc_common
  • swc_plugin_proxy --breaking
  • swc_plugin_runner

@kdy1 kdy1 enabled auto-merge (squash) January 26, 2023 01:09
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

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

Automated review comment generated by auto-rebase script

@kdy1 kdy1 merged commit 99d48e3 into swc-project:main Jan 26, 2023
@kdy1 kdy1 deleted the issue-6404 branch January 26, 2023 02:09
@kdy1 kdy1 removed this from the Planned milestone Jan 26, 2023
@kdy1 kdy1 added this to the v1.3.29 milestone Jan 26, 2023
@swc-project swc-project locked as resolved and limited conversation to collaborators Feb 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants