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

UnsafeCopyMemoryTest throws exception when off-heap enabled #20451

Closed
LinHu2016 opened this issue Oct 30, 2024 · 2 comments
Closed

UnsafeCopyMemoryTest throws exception when off-heap enabled #20451

LinHu2016 opened this issue Oct 30, 2024 · 2 comments

Comments

@LinHu2016
Copy link
Contributor

https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk21_j9_sanity.functional_x86-64_linux_Personal_testList_0/558/consoleText

  • test category,: sanity.functional

  • test target name: J9vmTest_4

  • OS/architecture): all platforms

Optional info

  • intermittent failure (yes|no): No
  • regression or new test: only fail with new option "-XXgc:enableVirtualLargeObjectHeap"

Failure output (captured from console output)

[2024-09-25T19:20:28.338Z] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
[2024-09-25T19:20:28.338Z] 	at java.base/java.lang.reflect.Array.getByte(Array.java:122)
[2024-09-25T19:20:28.338Z] 	at java.base/java.lang.reflect.Array.getShort(Array.java:303)
[2024-09-25T19:20:28.339Z] 	at java.base/java.lang.reflect.Array.getInt(Array.java:219)
[2024-09-25T19:20:28.339Z] 	at java.base/java.lang.reflect.Array.getLong(Array.java:280)
[2024-09-25T19:20:28.339Z] 	at j9vm.test.unsafe.UnsafeCopyMemoryTest.testEqualRawMemoryAndArray(UnsafeCopyMemoryTest.java:272)
[2024-09-25T19:20:28.339Z] 	at j9vm.test.unsafe.UnsafeCopyMemoryTest.testCopyLargeArrayIntoRawMemory(UnsafeCopyMemoryTest.java:403)
[2024-09-25T19:20:28.339Z] 	at j9vm.test.unsafe.UnsafeCopyMemoryTest.main(UnsafeCopyMemoryTest.java:455)
[2024-09-25T19:20:28.339Z] non-zero exit value: 1
[2024-09-25T19:20:28.339Z] *** Test FAILED *** (j9vm.test.unsafe.UnsafeCopyMemoryTest)

Copy link

Issue Number: 20451
Status: Open
Recommended Components: comp:gc, comp:test, comp:vm
Recommended Assignees: jasonfengj9, babsingh, llxia

@LinHu2016
Copy link
Contributor Author

LinHu2016 commented Oct 30, 2024

fix PR: #20339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants