[jdk11u-dev] RFR: 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" [v2]

Martin Doerr mdoerr at openjdk.org
Sat Jan 27 09:43:34 UTC 2024


On Mon, 22 Jan 2024 23:41:01 GMT, Amos Shi <ashi at openjdk.org> wrote:

>> Backport of [JDK-8289764](https://bugs.openjdk.org/browse/JDK-8289764)
>> 
>> - The following files are manually merged, can be consider as `clean` because the business logic is unchanged and inline with the original commit
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock001/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock01/TestDescription.java
>>   - test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java - The `Copyright year` is manually merged
>> - We have made the following change to make the code work on Java 11
>>   - Change `jdk.test.whitebox.WhiteBox` to `sun.hotspot.WhiteBox`
>>   - Change `jdk.test.lib.helpers.ClassFileInstaller` to `ClassFileInstaller`
>> 
>> 
>> 
>> Testing
>> - Local: passed
>>   - jtreg test against `test/hotspot/jtreg/vmTestbase/gc/lock/`
>>   - result: `Test results: passed: 7`
>> - Pipeline: All checks have passed
>> - Testing Machine: SAP nightlies passed on `2024-01-25,26`
>
> Amos Shi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8289764: Change code as JDK 11 style

LGTM. Thanks for the description!

-------------

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2469#pullrequestreview-1847044894


More information about the jdk-updates-dev mailing list