GeezerVison is showing github.com — deps: V8: partially revert d868eb7 · nodejs/node@5245d6a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
11 | 11 | #define V8_MAJOR_VERSION 6 |
12 | 12 | #define V8_MINOR_VERSION 2 |
13 | 13 | #define V8_BUILD_NUMBER 414 |
14 | | -#define V8_PATCH_LEVEL 70 |
| 14 | +#define V8_PATCH_LEVEL 71 |
15 | 15 |
|
16 | 16 | // Use 1 for candidates and 0 otherwise. |
17 | 17 | // (Boolean macro values are not supported by all preprocessors.) |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/include/v8.h -13Lines changed: 0 additions & 13 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -10247,28 +10247,15 @@ uint32_t Isolate::GetNumberOfDataSlots() { |
10247 | 10247 |
|
10248 | 10248 | int64_t Isolate::AdjustAmountOfExternalAllocatedMemory( |
10249 | 10249 | int64_t change_in_bytes) { |
10250 | | - const int64_t kMemoryReducerActivationLimit = 1024 * 1024; |
10251 | 10250 | typedef internal::Internals I; |
10252 | 10251 | int64_t* external_memory = reinterpret_cast<int64_t*>( |
10253 | 10252 | reinterpret_cast<uint8_t*>(this) + I::kExternalMemoryOffset); |
10254 | 10253 | int64_t* external_memory_limit = reinterpret_cast<int64_t*>( |
10255 | 10254 | reinterpret_cast<uint8_t*>(this) + I::kExternalMemoryLimitOffset); |
10256 | | - int64_t* external_memory_at_last_mc = |
10257 | | - reinterpret_cast<int64_t*>(reinterpret_cast<uint8_t*>(this) + |
10258 | | - I::kExternalMemoryAtLastMarkCompactOffset); |
10259 | 10255 | const int64_t amount = *external_memory + change_in_bytes; |
10260 | 10256 |
|
10261 | 10257 | *external_memory = amount; |
10262 | 10258 |
|
10263 | | - int64_t allocation_diff_since_last_mc = |
10264 | | - *external_memory_at_last_mc - *external_memory; |
10265 | | - allocation_diff_since_last_mc = allocation_diff_since_last_mc < 0 |
10266 | | - ? -allocation_diff_since_last_mc |
10267 | | - : allocation_diff_since_last_mc; |
10268 | | - if (allocation_diff_since_last_mc > kMemoryReducerActivationLimit) { |
10269 | | - CheckMemoryPressure(); |
10270 | | - } |
10271 | | - |
10272 | 10259 | if (change_in_bytes < 0) { |
10273 | 10260 | *external_memory_limit += change_in_bytes; |
10274 | 10261 | } |
|