[ VM / Service ] Regen vm_service.dart I had this change locally but forgot to push it in the previous CL: https://dart-review.googlesource.com/c/sdk/+/255720 Change-Id: Ib8292c915cac9dd944c8e6491c660eb1ddcafabb TEST=CI Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257265 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
diff --git a/pkg/vm_service/lib/src/vm_service.dart b/pkg/vm_service/lib/src/vm_service.dart index f182689..821b717 100644 --- a/pkg/vm_service/lib/src/vm_service.dart +++ b/pkg/vm_service/lib/src/vm_service.dart
@@ -26,7 +26,7 @@ HeapSnapshotObjectNoData, HeapSnapshotObjectNullData; -const String vmServiceVersion = '3.60.0'; +const String vmServiceVersion = '3.61.0'; /// @optional const String optional = 'optional'; @@ -5600,11 +5600,15 @@ /// internal use. If `false`, this isolate is likely running user code. bool? isSystemIsolate; + /// The id of the isolate group that this isolate belongs to. + String? isolateGroupId; + IsolateRef({ this.id, this.number, this.name, this.isSystemIsolate, + this.isolateGroupId, }); IsolateRef._fromJson(Map<String, dynamic> json) : super._fromJson(json) { @@ -5612,6 +5616,7 @@ number = json['number'] ?? ''; name = json['name'] ?? ''; isSystemIsolate = json['isSystemIsolate'] ?? false; + isolateGroupId = json['isolateGroupId'] ?? ''; } @override @@ -5626,6 +5631,7 @@ 'number': number, 'name': name, 'isSystemIsolate': isSystemIsolate, + 'isolateGroupId': isolateGroupId, }); return json; } @@ -5635,7 +5641,8 @@ bool operator ==(Object other) => other is IsolateRef && id == other.id; String toString() => '[IsolateRef ' // - 'id: ${id}, number: ${number}, name: ${name}, isSystemIsolate: ${isSystemIsolate}]'; + 'id: ${id}, number: ${number}, name: ${name}, isSystemIsolate: ${isSystemIsolate}, ' // + 'isolateGroupId: ${isolateGroupId}]'; } /// An `Isolate` object provides information about one isolate in the VM. @@ -5656,6 +5663,9 @@ /// internal use. If `false`, this isolate is likely running user code. bool? isSystemIsolate; + /// The id of the isolate group that this isolate belongs to. + String? isolateGroupId; + /// The list of isolate flags provided to this isolate. See Dart_IsolateFlags /// in dart_api.h for the list of accepted isolate flags. List<IsolateFlag>? isolateFlags; @@ -5709,6 +5719,7 @@ this.number, this.name, this.isSystemIsolate, + this.isolateGroupId, this.isolateFlags, this.startTime, this.runnable, @@ -5728,6 +5739,7 @@ number = json['number'] ?? ''; name = json['name'] ?? ''; isSystemIsolate = json['isSystemIsolate'] ?? false; + isolateGroupId = json['isolateGroupId'] ?? ''; isolateFlags = List<IsolateFlag>.from( createServiceObject(json['isolateFlags'], const ['IsolateFlag']) as List? ?? @@ -5766,6 +5778,7 @@ 'number': number, 'name': name, 'isSystemIsolate': isSystemIsolate, + 'isolateGroupId': isolateGroupId, 'isolateFlags': isolateFlags?.map((f) => f.toJson()).toList(), 'startTime': startTime, 'runnable': runnable,