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

Reserve the region from CollectionSet #4286

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

LinHu2016
Copy link
Contributor

for Balanced Partial Garbage Collection, all of eden regions(
age0 and age1) and partial of survivor regions would be selected
as collection set, some of those regions have a large freespace,
which could be used as survivor region .perpare reserve list
("most freespace" for each age region) during pre-collection,
keep them as candidate of the survivors in order to avoid
potential copyforward abort case.

- new global variable tarokReserveRegionsFromCollectionSet for
deciding if reserving regions from collection set.
(can be RESERVE_REGIONS_MOST_ALLOCATABLE, RESERVE_REGIONS_MOST_FREE,
RESERVE_REGIONS_NO(default)).

Signed-off-by: Lin Hu linhu@ca.ibm.com

	for Balanced Partial Garbage Collection, all of eden regions(
	age0 and age1) and partial of survivor regions would be selected
	as collection set, some of those regions have a large freespace,
	which could be used as survivor region .perpare reserve list
	("most freespace" for each age region) during pre-collection,
	keep them as candidate of the survivors in order to avoid
	potential copyforward abort case.

	- new global variable tarokReserveRegionsFromCollectionSet for
	deciding if reserving regions from collection set.
	(can be RESERVE_REGIONS_MOST_ALLOCATABLE, RESERVE_REGIONS_MOST_FREE,
	RESERVE_REGIONS_NO(default)).

Signed-off-by: Lin Hu <linhu@ca.ibm.com>
@rwy7
Copy link
Contributor

rwy7 commented Sep 11, 2019

@genie-omr build all

@rwy7 rwy7 self-assigned this Sep 11, 2019
@rwy7 rwy7 merged commit 6704515 into eclipse-omr:master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants