Skip to content

Improve definition of HOOK_RECORD() - #7892

Merged
babsingh merged 1 commit into
eclipse-omr:masterfrom
keithc-ca:hookable
Aug 18, 2025
Merged

Improve definition of HOOK_RECORD()#7892
babsingh merged 1 commit into
eclipse-omr:masterfrom
keithc-ca:hookable

Conversation

@keithc-ca

Copy link
Copy Markdown
Contributor

The event parameter is unsigned so -1 - event isn't strictly appropriate; the equivalent computation, ~(intptr_t)event avoids mixing signed and unsigned quantities.

This avoids (something close to?) undefined behavior which leads the Open XL compiler on z/OS to make unwanted "optimizations".

The `event` parameter is unsigned so `-1 - event` isn't strictly
appropriate; the equivalent computation, `~(intptr_t)event` avoids
mixing signed and unsigned quantities.

This avoids (something close to?) undefined behavior which leads
the Open XL compiler on z/OS to make unwanted "optimizations".

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@babsingh

Copy link
Copy Markdown
Contributor

jenkins build all

@keithc-ca

Copy link
Copy Markdown
Contributor Author

The xlinux builds encountered this:

16:04:53  ERROR: failed to solve: nvcr.io/nvidia/cuda:12.2.0-devel-ubi8: failed to resolve source metadata for nvcr.io/nvidia/cuda:12.2.0-devel-ubi8: unexpected status from HEAD request to https://nvcr.io/v2/nvidia/cuda/manifests/12.2.0-devel-ubi8: 401 Unauthorized

@keithc-ca

Copy link
Copy Markdown
Contributor Author

jenkins build linux_x86,linux_x86-64

@babsingh

babsingh commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

The relaunch didn't happen; attempting to relaunch the builds once more using aliases.

jenkins build x32linux,xlinux

@babsingh
babsingh merged commit 5cce6c5 into eclipse-omr:master Aug 18, 2025
14 checks passed
@keithc-ca
keithc-ca deleted the hookable branch August 18, 2025 17:25
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.

2 participants