Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make physical comparison aware of promotion duplication.
Promoting an object duplicates the object in the major heap and uses write barriers to ensure that the copies are in sync. However, physical comparison breaks due to this. Physical comparison is essential for pattern matching polymorphic and extensible variants. See ocaml#7 for example. The fix ensures that the major heap object is always used when comparing promoted objects.
- Loading branch information