Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate cost and benefit of pointer compression #44481

Closed
dnfield opened this issue Dec 16, 2020 · 5 comments
Closed

Evaluate cost and benefit of pointer compression #44481

dnfield opened this issue Dec 16, 2020 · 5 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug vm-aot-memory-footprint Related to improvements of VM memory footprint for AOT deployments

Comments

@dnfield
Copy link
Contributor

dnfield commented Dec 16, 2020

Dart uses 64 bit pointers on 64 bit architectures, even if the device is a small mobile device with less than 4GB of addressable ram.

Enabling pointer compression could substantially reduce memory consumption, but carries a maintenance burden for the VM team - it cannot be the only option since Dart still would need to be able to address >4GB on the server/desktop, and would not want to pay a performance penality for doing so.

Related to #31960

@dnfield dnfield added area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. vm-aot-memory-footprint Related to improvements of VM memory footprint for AOT deployments labels Dec 16, 2020
@a-siva a-siva added this to Needs triage in Dart VM support for Null Safe feature via automation Jan 7, 2021
@a-siva a-siva removed this from Needs triage in Dart VM support for Null Safe feature Jan 7, 2021
@dnfield
Copy link
Contributor Author

dnfield commented Apr 19, 2021

@rmacnak-google this is probably done right?

@dnfield
Copy link
Contributor Author

dnfield commented Apr 19, 2021

At least in terms of evluation? :)

@a-siva
Copy link
Contributor

a-siva commented May 27, 2021

Let us use this issue for tracking the feature landing and not close it yet.

@a-siva
Copy link
Contributor

a-siva commented Oct 28, 2021

The Android version of this has landed and is in use by Flutter on ARM64.
Keeping this open till we turn it on for iOS also (will be done after the branch for 2.15 stable is cut).

Moving milestone for this.

@a-siva
Copy link
Contributor

a-siva commented Dec 1, 2021

Pointer compression work has landed.

@a-siva a-siva closed this as completed Dec 1, 2021
Dart VM memory footprint automation moved this from Tasks to Done Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug vm-aot-memory-footprint Related to improvements of VM memory footprint for AOT deployments
Development

No branches or pull requests

5 participants