Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VM] Rehash constant tables after cid-renumbering during app-jit trai…
…ning When sorting classes during app-jit training we permute the class ids. This makes canonical hash codes which depend directly (or indirectly) on class ids change. We already clear out the cached canonical hash codes in type-related instances in the heap. Though the cid renumbering makes the non-cached canonical hashcodes of other objects, such as canonical Instance and Array objects, also change. This means any data structures which use canonical hash codes of type related objects or Instance/Array objects need to re-hash. -> This CL makes us rehash the constant tables after cid renumbering. Fixes dart-lang#34849 Change-Id: Icfb5add3f14e2c62c5bca94f296133121ad0bc55 Reviewed-on: https://dart-review.googlesource.com/c/80801 Commit-Queue: Martin Kustermann <[email protected]> Reviewed-by: Vyacheslav Egorov <[email protected]>
- Loading branch information