RFR: 8283422: Create a new test for JDK-8254790
Sergey Bylokhov
serb at openjdk.java.net
Wed Mar 23 21:46:12 UTC 2022
On Wed, 23 Mar 2022 07:13:09 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> I think the root cause is simply that there is not enough memory available to the VM to allocate such a large object. `MaxRAMPercentage` is set to 4 but the test could also be executed on a system with a small memory size. I think the test needs to be robust enough to account for all kinds of machines/settings.
It has a "guard" jtreg tag "os.maxMemory > 5G" which should prevent execution of this test on small systems. I'll bump this requirement in the next revision of the test.
> Do you know why the issue is only reproducible with a large heap and only if the heap is filled?
That's due to the nature of that [bug](https://bugs.openjdk.java.net/browse/JDK-8254790?focusedCommentId=14374611&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14374611)
> the 32 bit arithmetic instruction used for 64-bit address
-------------
PR: https://git.openjdk.java.net/jdk/pull/7883
More information about the hotspot-compiler-dev
mailing list