-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Update DBG_MAX_EXECUTABLE_ALLOC_SIZE and EXPECTED_CHUNKSIZE #117843
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
Update DBG_MAX_EXECUTABLE_ALLOC_SIZE and EXPECTED_CHUNKSIZE #117843
Conversation
…t recent SharedPatchBypassBuffer changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses allocation failures in the Linux debugger caused by recent changes to SharedPatchBypassBuffer. The fix increases debugger memory allocation constants to accommodate the larger buffer size requirements.
Key Changes
- Increases
DBG_MAX_EXECUTABLE_ALLOC_SIZE
from 112 to 120 bytes to match the size of SharedPatchBypassBuffer - Doubles
EXPECTED_CHUNKSIZE
from 128 to 256 bytes to provide adequate space for the larger allocation size plus metadata overhead
Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag |
Co-authored-by: Copilot <[email protected]>
/ba-g failures are unrelated |
…17843) * Update DBG_MAX_EXECUTABLE_ALLOC_SIZE and EXPECTED_CHUNKSIZE to account recent SharedPatchBypassBuffer changes * Comment-only update Co-authored-by: Copilot <[email protected]> * Improve EXPECTED_CHUNKSIZE comment --------- Co-authored-by: Copilot <[email protected]>
…#117912) * Update DBG_MAX_EXECUTABLE_ALLOC_SIZE and EXPECTED_CHUNKSIZE to account recent SharedPatchBypassBuffer changes * Comment-only update * Improve EXPECTED_CHUNKSIZE comment --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Jeff Schwartz <[email protected]>
Recent change to SharedPatchBypassBuffer caused allocation failures in the debugger, leading to linux debugging to fail. This change increases the buffer sizes to allow for the increased size to SharedPatchBypassBuffer