mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:20:38 +00:00
[ 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>
This commit is contained in:
parent
6c8bacc73a
commit
766c8d752c
1 changed files with 15 additions and 2 deletions
|
@ -26,7 +26,7 @@ export 'snapshot_graph.dart'
|
||||||
HeapSnapshotObjectNoData,
|
HeapSnapshotObjectNoData,
|
||||||
HeapSnapshotObjectNullData;
|
HeapSnapshotObjectNullData;
|
||||||
|
|
||||||
const String vmServiceVersion = '3.60.0';
|
const String vmServiceVersion = '3.61.0';
|
||||||
|
|
||||||
/// @optional
|
/// @optional
|
||||||
const String optional = 'optional';
|
const String optional = 'optional';
|
||||||
|
@ -5600,11 +5600,15 @@ class IsolateRef extends Response {
|
||||||
/// internal use. If `false`, this isolate is likely running user code.
|
/// internal use. If `false`, this isolate is likely running user code.
|
||||||
bool? isSystemIsolate;
|
bool? isSystemIsolate;
|
||||||
|
|
||||||
|
/// The id of the isolate group that this isolate belongs to.
|
||||||
|
String? isolateGroupId;
|
||||||
|
|
||||||
IsolateRef({
|
IsolateRef({
|
||||||
this.id,
|
this.id,
|
||||||
this.number,
|
this.number,
|
||||||
this.name,
|
this.name,
|
||||||
this.isSystemIsolate,
|
this.isSystemIsolate,
|
||||||
|
this.isolateGroupId,
|
||||||
});
|
});
|
||||||
|
|
||||||
IsolateRef._fromJson(Map<String, dynamic> json) : super._fromJson(json) {
|
IsolateRef._fromJson(Map<String, dynamic> json) : super._fromJson(json) {
|
||||||
|
@ -5612,6 +5616,7 @@ class IsolateRef extends Response {
|
||||||
number = json['number'] ?? '';
|
number = json['number'] ?? '';
|
||||||
name = json['name'] ?? '';
|
name = json['name'] ?? '';
|
||||||
isSystemIsolate = json['isSystemIsolate'] ?? false;
|
isSystemIsolate = json['isSystemIsolate'] ?? false;
|
||||||
|
isolateGroupId = json['isolateGroupId'] ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -5626,6 +5631,7 @@ class IsolateRef extends Response {
|
||||||
'number': number,
|
'number': number,
|
||||||
'name': name,
|
'name': name,
|
||||||
'isSystemIsolate': isSystemIsolate,
|
'isSystemIsolate': isSystemIsolate,
|
||||||
|
'isolateGroupId': isolateGroupId,
|
||||||
});
|
});
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
@ -5635,7 +5641,8 @@ class IsolateRef extends Response {
|
||||||
bool operator ==(Object other) => other is IsolateRef && id == other.id;
|
bool operator ==(Object other) => other is IsolateRef && id == other.id;
|
||||||
|
|
||||||
String toString() => '[IsolateRef ' //
|
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.
|
/// An `Isolate` object provides information about one isolate in the VM.
|
||||||
|
@ -5656,6 +5663,9 @@ class Isolate extends Response implements IsolateRef {
|
||||||
/// internal use. If `false`, this isolate is likely running user code.
|
/// internal use. If `false`, this isolate is likely running user code.
|
||||||
bool? isSystemIsolate;
|
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
|
/// The list of isolate flags provided to this isolate. See Dart_IsolateFlags
|
||||||
/// in dart_api.h for the list of accepted isolate flags.
|
/// in dart_api.h for the list of accepted isolate flags.
|
||||||
List<IsolateFlag>? isolateFlags;
|
List<IsolateFlag>? isolateFlags;
|
||||||
|
@ -5709,6 +5719,7 @@ class Isolate extends Response implements IsolateRef {
|
||||||
this.number,
|
this.number,
|
||||||
this.name,
|
this.name,
|
||||||
this.isSystemIsolate,
|
this.isSystemIsolate,
|
||||||
|
this.isolateGroupId,
|
||||||
this.isolateFlags,
|
this.isolateFlags,
|
||||||
this.startTime,
|
this.startTime,
|
||||||
this.runnable,
|
this.runnable,
|
||||||
|
@ -5728,6 +5739,7 @@ class Isolate extends Response implements IsolateRef {
|
||||||
number = json['number'] ?? '';
|
number = json['number'] ?? '';
|
||||||
name = json['name'] ?? '';
|
name = json['name'] ?? '';
|
||||||
isSystemIsolate = json['isSystemIsolate'] ?? false;
|
isSystemIsolate = json['isSystemIsolate'] ?? false;
|
||||||
|
isolateGroupId = json['isolateGroupId'] ?? '';
|
||||||
isolateFlags = List<IsolateFlag>.from(
|
isolateFlags = List<IsolateFlag>.from(
|
||||||
createServiceObject(json['isolateFlags'], const ['IsolateFlag'])
|
createServiceObject(json['isolateFlags'], const ['IsolateFlag'])
|
||||||
as List? ??
|
as List? ??
|
||||||
|
@ -5766,6 +5778,7 @@ class Isolate extends Response implements IsolateRef {
|
||||||
'number': number,
|
'number': number,
|
||||||
'name': name,
|
'name': name,
|
||||||
'isSystemIsolate': isSystemIsolate,
|
'isSystemIsolate': isSystemIsolate,
|
||||||
|
'isolateGroupId': isolateGroupId,
|
||||||
'isolateFlags': isolateFlags?.map((f) => f.toJson()).toList(),
|
'isolateFlags': isolateFlags?.map((f) => f.toJson()).toList(),
|
||||||
'startTime': startTime,
|
'startTime': startTime,
|
||||||
'runnable': runnable,
|
'runnable': runnable,
|
||||||
|
|
Loading…
Reference in a new issue