Files
sdk/pkg/vm/lib
Alexander Aprelev 95aab5b6e0 [vm/ffi] Use getter for sizeOf instead of static final field.
Static final fields don't get optimized well under jit lightweight isolate configuration: whether "a static final field was initialized"-check can not be optimized out with lightweight isolates.


Issue https://github.com/dart-lang/sdk/issues/36097

TEST=FfiStruct.FieldLoadStore performance benchmark

Change-Id: Ieb739dd9855ff7774877d7984a918644ec36e1e2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200320
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2021-05-19 03:10:26 +00:00
..