Skip to content

Check if TypedDataSpecializer misses any important cases on internal apps due to UnmodifiableUint8ListView instantiation #40924

Closed
@mraleph

Description

@mraleph

Turns out UnmodifiableUint8ListView is used internally as an immutable wrapper around embedded data.

This means TypedDataSpecializer would not inline any virtual accesses through Uint8List interface - because UnmodifiableUint8ListView introduces a third-party implementor which does not follow uniform _TypedData layout.

We should check if we leaving calls on any hot code paths due to this - and look into potentials ways to mitigate it.

/cc @mkustermann

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-performanceIssue relates to performance or code size

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions