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

Adding check to fix when the image is open with an older VM #642

Merged

Conversation

tesonep
Copy link
Collaborator

@tesonep tesonep commented Jul 5, 2023

Adding check to fix when the image is open with an older VM that corrupts the remembered set.

@tesonep tesonep requested a review from PalumboN July 5, 2023 11:39
@PalumboN
Copy link
Collaborator

PalumboN commented Jul 5, 2023

@tesonep What was the problem?

Loading a new image (with perm space) using an old VM (without perm space support) breaks the (perm space I guess) Remembered Set. Right?

Is it because the new VM has a special behaviour to save/load the RS into/from the image?

@tesonep
Copy link
Collaborator Author

tesonep commented Jul 5, 2023

@PalumboN not only when it has perm space, also when the remembered set of the old space is not correctly updated. So if you have an image, you open with the new VM, then open with an old VM, and then the new... puum

Copy link
Collaborator

@PalumboN PalumboN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Comment on lines +171 to +174
shouldStartEmpty
ifTrue: [
obj := manager nilObject.
manager logWarn: 'As it starts empty, we can ignore it' ]].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it should not start empty, there is nothing to do and eventually will crash, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, maybe it needs to just hard quit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants