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

Array base offset zero #19326

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Array base offset zero #19326

merged 1 commit into from
Jul 15, 2024

Conversation

tajila
Copy link
Contributor

@tajila tajila commented Apr 16, 2024

Set unsafe header offsets to zero when large offheap arrays are enabled.

Replace assertation with exception in compareAndExchangeObject due
avoid trace header includes in UnsafeAPI.hpp as that file is used in
various modules.

@tajila
Copy link
Contributor Author

tajila commented Apr 16, 2024

jenkins test sanity alinux64

@tajila
Copy link
Contributor Author

tajila commented Apr 16, 2024

jenkins test sanity alinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Apr 16, 2024

jenkins test sanity alinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Apr 17, 2024

jenkins test sanity xlinux jdk21

@tajila tajila force-pushed the offheap branch 6 times, most recently from 96a05ce to b49b911 Compare April 18, 2024 13:20
@tajila
Copy link
Contributor Author

tajila commented Apr 18, 2024

jenkins test sanity alinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Apr 18, 2024

@tajila tajila force-pushed the offheap branch 3 times, most recently from 3634715 to c931198 Compare April 18, 2024 14:23
@tajila
Copy link
Contributor Author

tajila commented Apr 18, 2024

jenkins test sanity alinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Apr 18, 2024

jenkins test sanity xlinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Apr 18, 2024

jenkins test sanity xlinux jdk17

@tajila tajila force-pushed the offheap branch 11 times, most recently from 24513b0 to f42b356 Compare July 3, 2024 20:59
@tajila tajila force-pushed the offheap branch 13 times, most recently from 544ffad to 34e44c7 Compare July 10, 2024 15:37
@tajila
Copy link
Contributor Author

tajila commented Jul 10, 2024

jenkins test sanity alinux64 jdk17

@tajila
Copy link
Contributor Author

tajila commented Jul 10, 2024

@dmitripivkine @amicic @gacholio Please review

@tajila
Copy link
Contributor Author

tajila commented Jul 12, 2024

@amicic changes ready for another look

@amicic
Copy link
Contributor

amicic commented Jul 12, 2024

@amicic changes ready for another look

Looks good. Not obvious to me why you changed the C assert into a Java exception. Perphas put a comment in a commit or code.

Set unsafe header offsets to zero when large offheap arrays are enabled.

Replace assertation with exception in `compareAndExchangeObject` due
avoid trace header includes in UnsafeAPI.hpp as that file is used in
various modules.

Signed-off-by: tajila <[email protected]>
@tajila tajila marked this pull request as ready for review July 15, 2024 14:24
@tajila
Copy link
Contributor Author

tajila commented Jul 15, 2024

jenkins test sanity alinux64 jdk8,jdk21

@tajila
Copy link
Contributor Author

tajila commented Jul 15, 2024

Looks good. Not obvious to me why you changed the C assert into a Java exception. Perphas put a comment in a commit or code.

I updated the commit message

@amicic amicic merged commit 29635ce into eclipse-openj9:master Jul 15, 2024
7 checks passed
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.

4 participants