Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5245d6a

Browse filesBrowse files
ofrobotsMylesBorins
authored andcommitted
deps: V8: partially revert d868eb7
d868eb7 ended up being an inadvertant ABI change. Remove the call to CheckMemoryPressure from the header itself. PR-URL: #24499 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 62dd1d7 commit 5245d6a
Copy full SHA for 5245d6a

File tree

Expand file treeCollapse file tree

2 files changed

+1
-14
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-14
lines changed
Open diff view settings
Collapse file

‎deps/v8/include/v8-version.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 2
1313
#define V8_BUILD_NUMBER 414
14-
#define V8_PATCH_LEVEL 70
14+
#define V8_PATCH_LEVEL 71
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)
Collapse file

‎deps/v8/include/v8.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8.h
-13Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10247,28 +10247,15 @@ uint32_t Isolate::GetNumberOfDataSlots() {
1024710247

1024810248
int64_t Isolate::AdjustAmountOfExternalAllocatedMemory(
1024910249
int64_t change_in_bytes) {
10250-
const int64_t kMemoryReducerActivationLimit = 1024 * 1024;
1025110250
typedef internal::Internals I;
1025210251
int64_t* external_memory = reinterpret_cast<int64_t*>(
1025310252
reinterpret_cast<uint8_t*>(this) + I::kExternalMemoryOffset);
1025410253
int64_t* external_memory_limit = reinterpret_cast<int64_t*>(
1025510254
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);
1025910255
const int64_t amount = *external_memory + change_in_bytes;
1026010256

1026110257
*external_memory = amount;
1026210258

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-
1027210259
if (change_in_bytes < 0) {
1027310260
*external_memory_limit += change_in_bytes;
1027410261
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.