flutter / flutter/devtools

Use Service ID zones where beneficial

Open
#8,352 0 comments 0 reactions 0 assignees View on GitHub
cross-screen P2
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

The APIs for managing Service ID zones have been released in [`package:vm_service 14.3.0`](https://pub.dev/packages/vm_service/versions/14.3.0). These APIs can be used to free object IDs when they are no longer needed, to ensure that objects associated with those IDs are not retained for longer than necessary. I believe that [using Service ID zones in DAP](https://github.com/dart-lang/sdk/issues/56794) will have the biggest impact on the memory footprint of debugging, but please check if DevTools can benefit from these APIs in any way.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Service ID zone APIs released in vm_service 14.3.0 and the linked DAP issue 56794. No DevTools file or test is named, so inspect how DevTools manages Service IDs and determine whether zones reduce retained objects; done means documenting the benefit and implementing any justified use.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.