-
Shu-yu Guo authored
This is a reland of 1532f8ff Changes since revert: - Fix race in initialization Original change's description: > [heap] Tie process-wide CodeRange lifetime to any remaining Heaps > > Currently the process-wide CodeRange, once created, lives until process > shutdown. This CL changes it to be alive as long as there is a Heap, > when the last Heap is gone it gets destroyed and will be recreated the > next time a Heap is created. This behavior is shared with > SingleCopyReadOnlyArtifacts. > > Bug: v8:11929 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2989103 > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> > Commit-Queue: Shu-yu Guo <syg@chromium.org> > Cr-Commit-Position: refs/heads/master@{#75522} Bug: v8:11929 Change-Id: If250d8901044bcba1f7d7f797b398c29cc2c5a61 Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3003910 Commit-Queue: Shu-yu Guo <syg@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/master@{#75616}
aca0c208