Skip to content

🐛 Fix for Stack::Resize that new_capacity is not assigned to capacity_#934

Merged
lalitb merged 3 commits intoopen-telemetry:mainfrom
nemoyuan:fix_stack_resize_cap
Aug 3, 2021
Merged

🐛 Fix for Stack::Resize that new_capacity is not assigned to capacity_#934
lalitb merged 3 commits intoopen-telemetry:mainfrom
nemoyuan:fix_stack_resize_cap

Conversation

@nemoyuan
Copy link
Copy Markdown
Contributor

@nemoyuan nemoyuan commented Aug 2, 2021

Changes

Fix for Stack::Resize that new_capacity is not assigned to capacity_ , caused stack to constantly allocate memory when size_>0.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@nemoyuan nemoyuan requested a review from a team August 2, 2021 09:32
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Aug 2, 2021

CLA Signed

The committers are authorized under a signed CLA.

@nemoyuan
Copy link
Copy Markdown
Contributor Author

nemoyuan commented Aug 2, 2021

CLA Signed

The committers are authorized under a signed CLA.

@lalitb
Copy link
Copy Markdown
Member

lalitb commented Aug 2, 2021

is not authorized under a signed CLA. Please click here to be authorized. 

I cliecked it then got {"message": "Internal server error"}

something wrong?

Yes, there is a problem with easyCLA validation: open-telemetry/community#795
Will merge this PR once it's solved. Thanks for the fix.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 2, 2021

Codecov Report

Merging #934 (f13163d) into main (d6c187c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #934      +/-   ##
==========================================
+ Coverage   95.36%   95.36%   +0.01%     
==========================================
  Files         160      160              
  Lines        6779     6780       +1     
==========================================
+ Hits         6464     6465       +1     
  Misses        315      315              
Impacted Files Coverage Δ
...pi/include/opentelemetry/context/runtime_context.h 97.50% <100.00%> (+0.04%) ⬆️

@lalitb
Copy link
Copy Markdown
Member

lalitb commented Aug 2, 2021

@Yerannnnnn - Can you try to authorize yourself for easyCLA now?

@nemoyuan
Copy link
Copy Markdown
Contributor Author

nemoyuan commented Aug 3, 2021

@Yerannnnnn - Can you try to authorize yourself for easyCLA now?

@lalitb Done

@lalitb lalitb merged commit 3a3bf25 into open-telemetry:main Aug 3, 2021
@nemoyuan nemoyuan deleted the fix_stack_resize_cap branch August 3, 2021 06:23
@open-telemetry open-telemetry deleted a comment from rimshaRajput Aug 7, 2025
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