-
Notifications
You must be signed in to change notification settings - Fork 729
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
JTReg failure: java/math/BigInteger/largeMemory/SymmetricRangeTests.java #8728
Comments
@lumpfish what -Xmx value are you using to run the small testcase? Does it work with a bigger -Xmx value? If you aren't setting any -Xmx, pls run with |
The real test is run with -Xmx8g. There is a difference in output running with -Xmx8g vs. -Xmx1g: -Xmx8g:
-Xmx1g
|
The following occurs on OpenJ9 because
|
Note OpenJ9 JDK8 is different because it has it's own implementation of StringBuilder (and StringBuffer) rather than using the OpenJDK impl. |
I have confirmed that the small test case passes with -XX:+CompactStrings. |
Seems so, unless we can modify it to specify |
We'll pursue adding the option to the test at openjdk. |
Excluded via: adoptium/aqa-tests#1666 |
Since the cause of the failure is the test, I think this can be closed. I'll go ahead, but can reopen if someone disagrees. |
openjdk bug: https://bugs.openjdk.java.net/browse/JDK-8241097 |
Test reincluded: adoptium/aqa-tests#1694 |
Failure has been reported at AdoptOpenJDK as intermittent on Windows, Windows XL and AIX jdk14, though the isolated test case below also fails locally on jdk11.0.6+10_openj9-0.18.1 on linux_x86-64.
The test is annotated with
so it may be that it is not the failure which is intermittent, but the execution of the test itself. Certainly there are 'passed' test runs where this particular test does not appear in the list of tests executed.
The investigation below was all done locally on a Windows 10 laptop.
Test fails with
The OOM is happening during the initialisation of a string buffer.
The code below reproduces the problem.
jdk11 and jdk14 throw the OOM, jdk8 does not. I have tested back as far as jdk-11.0.4+11 and that fails as well as current nightly builds.
The latest hotspot jdk11 builds do not throw the OOM exception.
The text was updated successfully, but these errors were encountered: