Skip to content

Remove unused fields from OMR_VMThread - #8109

Merged
babsingh merged 1 commit into
eclipse-omr:masterfrom
shadman2606:removefields_0129
Feb 1, 2026
Merged

Remove unused fields from OMR_VMThread#8109
babsingh merged 1 commit into
eclipse-omr:masterfrom
shadman2606:removefields_0129

Conversation

@shadman2606

@shadman2606 shadman2606 commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Remove unused fields from OMR_VMThread

Removes the following fields from OMR_VMThread:

  • lowTenureAddress
  • highTenureAddress;
  • heapBaseForBarrierRange0;
  • heapSizeForBarrierRange0

This reverts changes from a previous (unfinished) work to transfer these fields from J9VMThread to OMR_VMThread.

Signed-off-by: Shadman Siddiqui shadman2606@gmail.com

@shadman2606

Copy link
Copy Markdown
Contributor Author

Related openj9 PR eclipse-openj9/openj9#23280

@shadman2606 shadman2606 changed the title WIP: Remove unused GC fields from OMR_VMThread WIP: Remove unused fields from OMR_VMThread Jan 29, 2026
@shadman2606
shadman2606 marked this pull request as ready for review January 29, 2026 18:58
Comment thread gc/base/GCExtensionsBase.hpp Outdated
walkThread->heapSizeForBarrierRange0 = heapSizeForBarrierRange0;
}
}
virtual void setTenureAddressRange(void* base, uintptr_t size) {}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think code formatting close to Coding Standards is:

virtual void
setTenureAddressRange(void* base, uintptr_t size)
{

}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hm, or is it?

  • declarations line
  • function name/parameters
  • opening {
  • empty line
  • closing }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry, just fixed it again. Code editor was undoing some of my formatting before I hit save 😞

@shadman2606
shadman2606 force-pushed the removefields_0129 branch 3 times, most recently from 131d69b to d32629a Compare January 29, 2026 19:55
@shadman2606 shadman2606 changed the title WIP: Remove unused fields from OMR_VMThread Remove unused fields from OMR_VMThread Jan 30, 2026
@dmitripivkine

Copy link
Copy Markdown
Contributor

@babsingh Would you please help to merge?

@babsingh

Copy link
Copy Markdown
Contributor

jenkins build all

@amicic

amicic commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

not sure, but _tenureBase/Size might still need to be set

Removes the following fields from OMR_VMThread:
- lowTenureAddress
- highTenureAddress;
- heapBaseForBarrierRange0;
- heapSizeForBarrierRange0

This reverts changes from a previous (unfinished) work to trasfer these
fields from J9VMThread to OMR_VMThread.

Signed-off-by: Shadman Siddiqui shadman2606@gmail.com
@amicic

amicic commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

jenkins build all

@babsingh

babsingh commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

PR builds look good. Only known and unrelated failures are present.

@babsingh
babsingh merged commit b457fb4 into eclipse-omr:master Feb 1, 2026
11 of 14 checks passed
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.

5 participants