Skip to content

Rename MemoryAllocations to FlutterMemoryAllocations. #140622

@polina-c

Description

@polina-c

Why?

Disposables in Dart cannot use MemoryAllocations in Flutter. So, to be leak trackable they need a dart-only class.
See detains in the document.

Why now?

  1. We want early adopters of leak tracker (for example, package owners) to use the class with the right name, so that they do not deal with renaming later.
  2. It will take time for the renaming to land to flutter stable.

Steps:

  • Add FlutterMemoryAllocations and deprecate MemoryAllocations in Flutter
  • Document breaking change in Flutter: Describe breaking change. website#10021
  • Update leak tracker to use FlutterMemoryAllocations
  • Roll leak tracker to G3
  • Upgrade flutter to new leak tracker
  • Remove MemoryAllocations from Flutter

Metadata

Metadata

Assignees

Labels

a: leak trackingIssues and PRs related to memory leaks detected by leak_trackerc: new featureNothing broken; request for a new capability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions