• Igor Sheludko's avatar
    [ext-code-space] Fix CodeRange allocation logic · 36e47253
    Igor Sheludko authored
    ... which required unnecessarily big alignment for the base on Windows.
    
    Drive-by: adapt hint usage in VirtualMemoryCage::InitReservation() for
    non-zero kReservedCodeRangePages and hint values provided by
    CodeRangeAddressHint::GetAddressHint() which might be the start address
    of the previously reserved region which in turn already includes the
    kReservedCodeRangePages pages.
    
    Bug: v8:11880, v8:12942
    Change-Id: Ieee44ed2bdfc77aa8efaef449221caaae1f0f08f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3695382Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81026}
    36e47253
allocation.cc 17.8 KB