Skip to content

Check option TR_DisableIProfilerThread instead of iprofiler thread pr… - #20417

Merged
dsouzai merged 1 commit into
eclipse-openj9:masterfrom
mpirvu:useidle
Oct 28, 2024
Merged

Check option TR_DisableIProfilerThread instead of iprofiler thread pr…#20417
dsouzai merged 1 commit into
eclipse-openj9:masterfrom
mpirvu:useidle

Conversation

@mpirvu

@mpirvu mpirvu commented Oct 25, 2024

Copy link
Copy Markdown
Contributor

…esence

In TR_Options::feLatePostProcess() we want to disable the TR_UseIdleTime option bit if we don't want to run with an IProfiler thread. Currently this is done by checking the presence of the Iprofiler thread. The problem is that the IProfiler thread is created much later so our query will always return false.
This commit replaces the check on the IProfiler thread with a check on the TR_DisableIProfilerThread option bit.

…esence

In `TR_Options::feLatePostProcess()` we want to disable the
`TR_UseIdleTime` option bit if we don't want to run with
an IProfiler thread. Currently this is done by checking the
presence of the Iprofiler thread. The problem is that the
IProfiler thread is created much later so our query will
always return `false`.
This commit replaces the check on the IProfiler thread with
a check on the `TR_DisableIProfilerThread` option bit.

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
@mpirvu
mpirvu requested a review from dsouzai as a code owner October 25, 2024 20:34
@dsouzai

dsouzai commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

jenkins test sanity.functional xlinux,plinux jdk21

@dsouzai dsouzai self-assigned this Oct 28, 2024
@mpirvu

mpirvu commented Oct 28, 2024

Copy link
Copy Markdown
Contributor Author

Tests have passed

@dsouzai
dsouzai merged commit 5cc771c into eclipse-openj9:master Oct 28, 2024
mpirvu added a commit to mpirvu/openj9 that referenced this pull request Oct 30, 2024
The effect of PR eclipse-openj9#20417 was to enable the TR_UseIdleTime option
which was disabled by a code bug. Apparently, this change caused
some of the tests to timeout.
This commit temporarily disables TR_UseIdleTime until we
understand and fix the cause of the timeouts.

Fixes: eclipse-openj9#20435

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
zl-wang pushed a commit to zl-wang/openj9 that referenced this pull request Nov 11, 2024
The effect of PR eclipse-openj9#20417 was to enable the TR_UseIdleTime option
which was disabled by a code bug. Apparently, this change caused
some of the tests to timeout.
This commit temporarily disables TR_UseIdleTime until we
understand and fix the cause of the timeouts.

Fixes: eclipse-openj9#20435

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
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.

2 participants