Skip to content

Commit

Permalink
Merge pull request #3144 from MicrosoftDocs/user/pabrosse/old-edge-ve…
Browse files Browse the repository at this point in the history
…rsions

Improve the Edge old versions detector and remove a couple of outdated versions
  • Loading branch information
captainbrosset authored May 3, 2024
2 parents 309cde0 + be4090a commit b17756e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ To hide internal nodes from the **Retainers** section, in the **Filter edges** d

By default, the **Shallow Size** column in the **Memory** tool only includes the size of the object itself. The _shallow size_ is the size of the JavaScript heap that's _directly_ held by an object. The shallow size of an object is usually small, because a JavaScript object often only stores its description of the object, not the values, in the object's directly held memory. Most JavaScript objects store their values in a _backing store_ that's elsewhere in the JavaScript heap, and only expose a small wrapper object on the portion of the JavaScript heap that's directly owned by the object. For example, JavaScript `Array` instances store the contents of the array in a backing store, which is a separate memory location that's not included in the array's shallow size.

Starting with Microsoft Edge 123, you can configure the **Shallow Size** column to report the entire size of objects, including the size of the object's backing store.
You can configure the **Shallow Size** column to report the entire size of objects, including the size of the object's backing store.

To include the entire size of objects in the **Shallow Size** column:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The _distance_ of an object in the JavaScript heap is the number of nodes on the

The _shallow size_ is the size of the JavaScript heap that's _directly_ held by an object. The shallow size of an object is usually small, because a JavaScript object often only stores its description of the object, not the values, in the object's directly held memory. Most JavaScript objects store their values in a _backing store_ that's elsewhere in the JavaScript heap, and only expose a small wrapper object on the portion of the JavaScript heap that's directly owned by the object.

Starting with Microsoft Edge 123, the **Memory** tool can be configured to report the total memory size of objects instead of only the memory size they directly hold. To learn more, see [Configure the Shallow Size column to include an entire object's size](./heap-snapshots.md#configure-the-shallow-size-column-to-include-an-entire-objects-size) in _Record heap snapshots using the Memory tool_.
The **Memory** tool can be configured to report the total memory size of objects instead of only the memory size they directly hold. To learn more, see [Configure the Shallow Size column to include an entire object's size](./heap-snapshots.md#configure-the-shallow-size-column-to-include-an-entire-objects-size) in _Record heap snapshots using the Memory tool_.

Nevertheless, even a small object can hold a large amount of memory _indirectly_, by preventing other objects from being disposed of by the garbage collection process.

Expand Down
3 changes: 2 additions & 1 deletion scripts/report-references-to-old-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const FILES_TO_INCLUDE = '../microsoft-edge/**/*.md';
const FILES_TO_IGNORE = [
// What's new/release notes articles are bound to always have version numbers in them. That's ok.
'../microsoft-edge/devtools-guide-chromium/whats-new/**/*.md',
'../microsoft-edge/webview2/release-notes.md',
'../microsoft-edge/webview2/release-notes/index.md',
'../microsoft-edge/webview2/release-notes/archive.md',
'../microsoft-edge/progressive-web-apps-chromium/whats-new/*.md',
// Experimental features also often have version numbers in them. Let's ignore them too.
'../microsoft-edge/devtools-guide-chromium/experimental-features/index.md'
Expand Down

0 comments on commit b17756e

Please sign in to comment.