| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8bb346d commit 0fcf249
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ | |||
| 11 | 11 | #define V8_MAJOR_VERSION 5 | |
| 12 | 12 | #define V8_MINOR_VERSION 1 | |
| 13 | 13 | #define V8_BUILD_NUMBER 281 | |
| 14 | - #define V8_PATCH_LEVEL 84 | ||
| 14 | + #define V8_PATCH_LEVEL 85 | ||
| 15 | 15 | ||
| 16 | 16 | // Use 1 for candidates and 0 otherwise. | |
| 17 | 17 | // (Boolean macro values are not supported by all preprocessors.) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1674,6 +1674,7 @@ class MarkCompactCollector::EvacuateNewSpaceVisitor final | |||
| 1674 | 1674 | const int size = old_object->Size(); | |
| 1675 | 1675 | AllocationAlignment alignment = old_object->RequiredAlignment(); | |
| 1676 | 1676 | AllocationResult allocation; | |
| 1677 | + AllocationSpace space_allocated_in = space_to_allocate_; | ||
| 1677 | 1678 | if (space_to_allocate_ == NEW_SPACE) { | |
| 1678 | 1679 | if (size > kMaxLabObjectSize) { | |
| 1679 | 1680 | allocation = | |
@@ -1684,11 +1685,12 @@ class MarkCompactCollector::EvacuateNewSpaceVisitor final | |||
| 1684 | 1685 | } | |
| 1685 | 1686 | if (allocation.IsRetry() || (space_to_allocate_ == OLD_SPACE)) { | |
| 1686 | 1687 | allocation = AllocateInOldSpace(size, alignment); | |
| 1688 | + space_allocated_in = OLD_SPACE; | ||
| 1687 | 1689 | } | |
| 1688 | 1690 | bool ok = allocation.To(target_object); | |
| 1689 | 1691 | DCHECK(ok); | |
| 1690 | 1692 | USE(ok); | |
| 1691 | - return space_to_allocate_; | ||
| 1693 | + return space_allocated_in; | ||
| 1692 | 1694 | } | |
| 1693 | 1695 | ||
| 1694 | 1696 | inline bool NewLocalAllocationBuffer() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments